mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-18 23:04:21 +01:00
delete routine cosmetic tweak.
This commit is contained in:
@@ -35,7 +35,6 @@ func deleteOldCachedEvents(ctx context.Context) {
|
||||
case <-ctx.Done():
|
||||
return
|
||||
case <-time.After(time.Hour):
|
||||
}
|
||||
log.Debug().Msg("deleting old cached events")
|
||||
now := time.Now().Unix()
|
||||
for _, key := range cache.GetPaginatedKeys("ttl:", 1, 500) {
|
||||
@@ -66,6 +65,7 @@ func deleteOldCachedEvents(ctx context.Context) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func loadNpubsArchive(ctx context.Context) {
|
||||
log.Debug().Msg("refreshing the npubs archive")
|
||||
|
||||
Reference in New Issue
Block a user