stats: add a debug call

This commit is contained in:
Alex Gleason 2024-05-18 08:13:37 -05:00
parent f9a0055e78
commit 3e93b42251
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -264,6 +264,7 @@ function refreshAuthorStatsDebounced(pubkey: string): void {
}
refreshedAuthors.set(pubkey, true);
debug('refreshing author stats:', pubkey);
authorStatsSemaphore
.lock(() => refreshAuthorStats(pubkey).catch(() => {}));