X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=dss.c;h=d2afc10d59d266e0db54cdae04c283feca68c306;hp=b9afbc4a8505d1886420d1355bd742dbdd73c756;hb=409cd61e2e3db02a726f22c759f2725cf1dfa506;hpb=442d1920cb866fb6e0a816d7e175b5cdb8c0e1a8 diff --git a/dss.c b/dss.c index b9afbc4..d2afc10 100644 --- a/dss.c +++ b/dss.c @@ -718,6 +718,8 @@ static int handle_pre_create_hook_exit(int status) DSS_NOTICE_LOG("deferring snapshot creation...\n"); warn_count = 60; /* warn only once per hour */ } + gettimeofday(&next_snapshot_time, NULL); + next_snapshot_time.tv_sec += 60; snapshot_creation_status = HS_READY; ret = 0; goto out;