- /* periodic operations (e.g. expiring the cache) */
-#if MDEBUG || MTRACK
- g_timeout_add(5000/*milliseconds*/, periodic, 0);
-#else
- g_timeout_add(600000/*milliseconds*/, periodic, 0);
-#endif
- /* The point of this is to try and get a handle on mysterious
- * unresponsiveness. It's not very useful in production use. */
- if(0)
- g_timeout_add(1000/*milliseconds*/, heartbeat, 0);
+ /* periodic operations (e.g. expiring the cache, checking local volume) */
+ g_timeout_add(600000/*milliseconds*/, periodic_slow, 0);
+ g_timeout_add(1000/*milliseconds*/, periodic_fast, 0);