remove debug timeout

This commit is contained in:
Barry Deen 2024-09-12 22:10:16 -04:00
parent 7232b14a29
commit 307967ad6e

View File

@ -333,8 +333,7 @@ func appendOneHopNetwork(pubkey string) {
}
func archiveTrustedNotes(ctx context.Context, relay *khatru.Relay) {
//timeout, cancel := context.WithTimeout(ctx, time.Duration(config.RefreshInterval)*time.Hour)
timeout, cancel := context.WithTimeout(ctx, 2*time.Minute)
timeout, cancel := context.WithTimeout(ctx, time.Duration(config.RefreshInterval)*time.Hour)
defer cancel()
go refreshProfiles(ctx)