postbox: try flushing events every second
relying on network activity for flushing is not reliable and is causing delays in zapping
This commit is contained in:
@@ -93,8 +93,6 @@ class PostBox {
|
||||
}
|
||||
|
||||
func handle_event(relay_id: String, _ ev: NostrConnectionEvent) {
|
||||
try_flushing_events()
|
||||
|
||||
guard case .nostr_event(let resp) = ev else {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user