function only succeeds if the executions are a couple minutes apart
- 1
- Self Hosted
- Functions
- Databases

I have a simple c# function which creates documents in different collections. However it only successfully finishes if the executions are something like 15 minutes apart. If not the following error occurs:
at System.Collections.Concurrent.ConcurrentDictionary`2.System.Collections.Generic.IDictionary<TKey,TValue>.Add(TKey key, TValue value)
at DotNetRuntime.DatabaseClient.InitializeDatabaseAndStorage() in /usr/local/server/src/DatabaseClient.cs:line 15
at DotNetRuntime.Handler.Main(RuntimeContext Context) in /usr/local/server/src/Index.cs:line 9
at Program.<<Main>$>g__Execute|0_0(HttpRequest request) in /usr/local/server/src/Program.cs:line 16 ```
I can also just manually restart the dockers in order to be able to start the function immediately..
Do I have to manually clear the openruntimes container in which the function get executed or what might be the reason?

I need the function to run every 5ish minutes or so..

What's your code?
Recommended threads
- Domain not working
My domain [fork-fable.appwrite.network](https://fork-fable.appwrite.network/) returns a 500 even after deleting and redeploying. Other domains added in domains ...
- File tokens regenerate each page reload
Hello, on appwrite 1.7.4, when I create a file token via the API Tokens(appwriteAdminClient)#createFileToken I get a secret, then when I check in the console t...
- Console create row ui not passing ID.uni...
I'm getting an error saying the id is already used but it should be created with ID.unique() it doesn't seem to be reading the row ID field at all. I can't get ...
