mirror of
https://github.com/bitvora/wot-relay.git
synced 2025-06-05 08:52:01 +00:00
remove debug timeout
This commit is contained in:
parent
7232b14a29
commit
307967ad6e
3
main.go
3
main.go
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user