Update submodules, add log message when an account isn't ready to be updated

master
teknomunk 10 months ago
parent a002edce81
commit 2190fd660f

@ -1 +1 @@
Subproject commit e91d01207ed07972864b43d24a2137edc583dc9d
Subproject commit e239bec5047699782d269fe6c33ed1aa87206734

@ -6,6 +6,7 @@
// Submodules
#include "ffdb/trie.h"
#include "util/time.h"
#include <stdio.h>
#include <stdlib.h>
@ -68,6 +69,11 @@ static void process_account_sync_once()
if( time(NULL) >= a->next_update ) {
account_sync_from_activity_pub( a->id );
} else {
char buffer[512];
rfc3339_time_string( a->next_update, buffer,512 );
printf( "Account not yet due for update. Holding until %s\n", buffer );
}
account_free(a);

@ -1 +1 @@
Subproject commit 4b85946cdf6c632c0ce6133cd69c50841105724f
Subproject commit 31be475dc44c76e889c31d1a74b6ada25984951c
Loading…
Cancel
Save