diff --git a/dist/antd-1.0.6b.tar.gz b/dist/antd-1.0.6b.tar.gz index 87832e9..01276a6 100644 Binary files a/dist/antd-1.0.6b.tar.gz and b/dist/antd-1.0.6b.tar.gz differ diff --git a/lib/scheduler.c b/lib/scheduler.c index 21f6671..5a98b72 100644 --- a/lib/scheduler.c +++ b/lib/scheduler.c @@ -10,7 +10,7 @@ #include "utils.h" #include "bst.h" -#define MAX_VALIDITY_INTERVAL 20 +#define MAX_VALIDITY_INTERVAL 60 // 1minute #define MAX_FIFO_NAME_SZ 255 #define POLL_EVENT_TO 100 // ms @@ -818,8 +818,7 @@ void antd_scheduler_ext_statistic(int fd, void *data) int antd_scheduler_validate_data(antd_task_t *task) { UNUSED(task); - return 1; - //!(difftime(time(NULL), task->access_time) > MAX_VALIDITY_INTERVAL); + return !(difftime(time(NULL), task->access_time) > MAX_VALIDITY_INTERVAL); } void antd_scheduler_destroy_data(void *data) {