- int countdown = 30;
- while ( (num_workers > 0) && (countdown-- > 0)) {
- syslog(LOG_DEBUG, "Waiting %d seconds for %d worker threads to exit",
- countdown, num_workers
- );
- usleep(1000000);
- }
+ /* We used to wait for all threads to exit. Fuck that. The only thing important is that the databases are
+ * cleanly unmounted. After that, exit the whole program.
+ */