Good Morning Nostroodles. And a fine morning it 'tis. More-speech lasted the night without a memory overrun; so I think that problem is solved. (hint, don't start timers every time you open a websocket unless you also cancel those timers when they close!) Ah, the problem of leaking resources. Too bad there's not a timer garbage collector.
Today... Well, today I've got two pressing problems to sort out.
One is that the database continues to grow as a very fast pace. It is now 12GB. So I'm going to have to figure out a way to purge old records.
The other problem is the flow control and processing rate issue. In the last 12 hours more-speech has recieved 1.22 million events. 1.19 million were duplicates coming in mostly from two relays: eden.nostr.land and puravida.nostr.land. Now I wonder how two relays can be sending almost nothing but duplicates. Hmmmm... Unless I screwed up the subscription time... Hmmmm.