A user delete should remove the file

kick the expiry thread
parent 1781d7b4
......@@ -145,6 +145,8 @@ tus_exp_touch(const struct tus_file_core *fcore)
AZ(pthread_mutex_lock(&e->mtx));
VBH_reorder(e->heap, fcore->exp_idx);
if (VBH_root(e->heap) == fcore)
AZ(pthread_cond_signal(&e->cond));
AZ(pthread_mutex_unlock(&e->mtx));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment