mirror of
https://github.com/aljazceru/wot-relay.git
synced 2025-12-18 23:04:19 +01:00
remove debug timeout
This commit is contained in:
3
main.go
3
main.go
@@ -333,8 +333,7 @@ func appendOneHopNetwork(pubkey string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func archiveTrustedNotes(ctx context.Context, relay *khatru.Relay) {
|
func archiveTrustedNotes(ctx context.Context, relay *khatru.Relay) {
|
||||||
//timeout, cancel := context.WithTimeout(ctx, time.Duration(config.RefreshInterval)*time.Hour)
|
timeout, cancel := context.WithTimeout(ctx, time.Duration(config.RefreshInterval)*time.Hour)
|
||||||
timeout, cancel := context.WithTimeout(ctx, 2*time.Minute)
|
|
||||||
defer cancel()
|
defer cancel()
|
||||||
go refreshProfiles(ctx)
|
go refreshProfiles(ctx)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user