mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-13 10:28:51 +00:00
streamline and improve benchmarks.
This commit is contained in:
@@ -269,6 +269,7 @@ export class AbstractRelay {
|
||||
}
|
||||
|
||||
// this method simulates receiving a message from the websocket
|
||||
// for testing purposes only
|
||||
public _push(msg: string) {
|
||||
this.incomingMessageQueue.enqueue(msg)
|
||||
if (!this.queueRunning) {
|
||||
|
||||
Reference in New Issue
Block a user