only call device/get_status every 60 seconds (hardcoded for now)

This commit is contained in:
josch
2014-12-29 22:10:41 +01:00
parent 3b8ecf3bac
commit 02e2eec1d4
3 changed files with 12 additions and 4 deletions

View File

@@ -35,6 +35,8 @@ struct timespec;
struct mediafirefs_context_private {
mfconn *conn;
folder_tree *tree;
time_t last_status_check;
time_t interval_status_check;
char *configfile;
char *dircache;
char *filecache;