added a todo note

This commit is contained in:
Fufu Fang 2024-05-03 07:37:44 +01:00
parent 389a657170
commit 8aa7c570c8
No known key found for this signature in database
GPG Key ID: 8A4CB08B0A7E27CE
1 changed files with 3 additions and 0 deletions

View File

@ -802,6 +802,9 @@ LinkTable *path_to_Link_LinkTable_new(const char *path)
time_t time_now = time(NULL);
if (time_now - next_table->index_time > CONFIG.refresh_timeout) {
/* refresh directory contents */
/*
* TODO: Save the updated LinkTable
*/
lprintf(info, "time_now: %d, index_time: %d\n", time_now, next_table->index_time)
lprintf(info, "diff: %d, limit: %d\n", time_now - next_table->index_time, CONFIG.refresh_timeout);
lprintf(info, "Refreshing LinkTable for %s\n", path);