Describe the bug
After some period of time backend will lose connection with the databases and be unable to reconnect
To Reproduce
Run stack, wait for modulith health to diminish, eventually loses connection
Additional context
Speculated issue, IMC uses a pattern to check if a request exists, then insert. Due to the parallelism of our inserts this can stack up a series of identical requests when processed between that response window. As these conflicts collect, they slowly consume the full connection pool preventing any other database interaction
Describe the bug After some period of time backend will lose connection with the databases and be unable to reconnect
To Reproduce Run stack, wait for modulith health to diminish, eventually loses connection
Additional context Speculated issue, IMC uses a pattern to check if a request exists, then insert. Due to the parallelism of our inserts this can stack up a series of identical requests when processed between that response window. As these conflicts collect, they slowly consume the full connection pool preventing any other database interaction