Skip to content
Snippets Groups Projects
Unverified Commit 153b49c9 authored by Mathieu Othacehe's avatar Mathieu Othacehe
Browse files

database: Warn if the worker is busy for more than 5 seconds.

* src/cuirass/utils.scm (with-operation, get-message-with-timeout): New
procedures,
(call-with-worker-thread): add timeout and timeout-proc arguments.
* src/cuirass/database.scm (with-db-worker-thread): Pass a 5 seconds timeout
to call-with-worker-thread, and print a debug message on timeout expiration.
parent 1dbd1b59
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment