throwSQLiteError(): Check for SIGINT so we don't loop forever
This commit is contained in:
@@ -20,6 +20,7 @@ namespace nix {
|
||||
}
|
||||
/* Sleep for a while since retrying the transaction right away
|
||||
is likely to fail again. */
|
||||
checkInterrupt();
|
||||
#if HAVE_NANOSLEEP
|
||||
struct timespec t;
|
||||
t.tv_sec = 0;
|
||||
|
||||
Reference in New Issue
Block a user