Browse Source
703: Explicitly drop database connection acquired during application setup r=klochowicz a=klochowicz The dirty shutdown we observed were caused by the sqlite pool patiently waiting until we close the connection we've opened in the application setup. This is turn was eventually triggering Rocket timeout (which is by default configured to wait 5s for cleanup). When loading cfds gets moved into the projection actor, the connection can be moved to a tighter scope (only for the housekeeping functions). Resolves #477 Co-authored-by: Mariusz Klochowicz <mariusz@klochowicz.com>debug-collab-settlement
bors[bot]
3 years ago
committed by
GitHub
3 changed files with 26 additions and 13 deletions
Loading…
Reference in new issue