Commit Graph

932 Commits

Author SHA1 Message Date
Alex Gleason 5ed2ecbabd
Remove mixer module 2023-12-29 12:43:59 -06:00
Alex Gleason e01383629e
unfurl: fix missing import, debug errors 2023-12-28 15:55:48 -06:00
Alex Gleason 5cbfbe5eaa Merge branch 'pool-worker' into 'main'
Move the RelayPool to a worker thread

See merge request soapbox-pub/ditto!78
2023-12-28 20:31:18 +00:00
Alex Gleason 69d93b7cab
Merge remote-tracking branch 'origin/main' into pool-worker 2023-12-28 14:22:51 -06:00
Alex Gleason a74d945f13 Merge branch 'memorelay' into 'main'
Add in-memory Nostr data store

See merge request soapbox-pub/ditto!86
2023-12-28 20:02:57 +00:00
Alex Gleason 08da26b12a
reqmeister: accept `signal` 2023-12-28 13:41:04 -06:00
Alex Gleason 2d19ab207e
Add memorelay.test.ts 2023-12-28 13:36:50 -06:00
Alex Gleason 33eead2148
Add filter.test.ts 2023-12-28 13:26:41 -06:00
Alex Gleason b3c7e22052
memorelay: increase LRU limits 2023-12-28 12:15:24 -06:00
Alex Gleason da6738a405
db/events: debug getFilters -> REQ 2023-12-28 12:07:49 -06:00
Alex Gleason 2b1e97ee1b
queries: get author from memory when possible 2023-12-28 00:39:05 -06:00
Alex Gleason c2b25bc798
queries: refactor getEvent, getAuthor 2023-12-28 00:27:25 -06:00
Alex Gleason 96e6bd18b4
queries: pull from memorelay when applicable, optimize 2023-12-28 00:15:51 -06:00
Alex Gleason f75cd21159
queries: make getAuthor use memorelay 2023-12-27 23:55:42 -06:00
Alex Gleason d40b4a509e
pipeline: use memorelay for encounters 2023-12-27 23:36:01 -06:00
Alex Gleason acffdd7fb8
memorelay: insertEvent 2023-12-27 23:22:24 -06:00
Alex Gleason 5398042156
Add memorelay module 2023-12-27 22:49:35 -06:00
Alex Gleason 84a083bc7c
debug: stringify tags 2023-12-27 22:27:05 -06:00
Alex Gleason 06be0c0a50 Merge branch 'debug' into 'main'
debug

See merge request soapbox-pub/ditto!85
2023-12-28 04:23:00 +00:00
Alex Gleason cdc0248c7d
deno.json: get rid of `debug` task, make `dev` do it 2023-12-27 22:05:20 -06:00
Alex Gleason 8f07fe8a23
debug: improve logging with REQ 2023-12-27 22:02:32 -06:00
Alex Gleason 083496943a
debug: don't log http requests for /packs etc 2023-12-27 21:57:10 -06:00
Alex Gleason 8d312bdbea
note: don't console.error on bad link, fix `isLinkURL` function 2023-12-27 21:25:57 -06:00
Alex Gleason 4d05398be1
Debug client, pass timeout into reqmeister 2023-12-27 21:14:45 -06:00
Alex Gleason baf51230ba
debug: hono logger 2023-12-27 20:57:20 -06:00
Alex Gleason 7b9baef165
debug: streaming, simplify other logs 2023-12-27 20:39:38 -06:00
Alex Gleason 4e01e8e626
debug: more modules 2023-12-27 20:19:59 -06:00
Alex Gleason 2fc9988c06
reqmeister: middleware/cache, reqmeister, nip05, unfurl, refactor some code 2023-12-27 20:07:13 -06:00
Alex Gleason e121a8805e
debug: pool, db/events 2023-12-27 19:48:48 -06:00
Alex Gleason 52d39c7a56
debug: firehose, stats, sub 2023-12-27 19:35:06 -06:00
Alex Gleason c335deca74
vscode: add launch.json 2023-12-27 17:36:52 -06:00
Alex Gleason 375fe09cdf
Delete accidentally added file 2023-12-27 17:36:41 -06:00
Alex Gleason bf91d0393e
gitignore .cpuprofile files 2023-12-27 17:36:17 -06:00
Alex Gleason 667d00bbd0
debug: fetch.worker, sqlite.worker 2023-12-27 16:59:06 -06:00
Alex Gleason 520c35db60
Add `debug` library, adapt pipeline to it 2023-12-27 16:21:58 -06:00
Alex Gleason 8f414a9aee Merge branch 'threads' into 'main'
Reqmeister

See merge request soapbox-pub/ditto!84
2023-12-27 02:19:55 +00:00
Alex Gleason 59b9593191
Stop automatically cleaning up events 2023-12-26 16:38:21 -06:00
Alex Gleason e5e737faae
Reqmeister: add a jsdoc 2023-12-26 16:23:24 -06:00
Alex Gleason ed107e49fd
Move new libs into deps.ts 2023-12-26 13:31:23 -06:00
Alex Gleason 62675218ce
pipeline: trackRelatedEvents -> fetchRelatedEvents 2023-12-26 13:27:48 -06:00
Alex Gleason 04925a580b
Reqmeister: timeout -> signal 2023-12-23 11:16:18 -06:00
Alex Gleason 17cef2f186
Merge remote-tracking branch 'origin/main' into threads 2023-12-22 22:56:12 -06:00
Alex Gleason e768032446 Merge branch 'signal' into 'main'
Replace all timeouts with AbortSignal

See merge request soapbox-pub/ditto!83
2023-12-22 19:24:34 +00:00
Alex Gleason ad0aaf97dd
Replace all timeouts with AbortSignal 2023-12-22 10:47:47 -06:00
Alex Gleason 6d6e3bcecc
Move console.info from firehose to pipeline 2023-12-22 10:24:14 -06:00
Alex Gleason 58b12ae462
client: fix wrong import of allRelays 2023-12-22 10:23:48 -06:00
Alex Gleason acc133e8e2
Make Reqmeister work 2023-12-21 19:10:42 -06:00
Alex Gleason 4a32fe2c37
Add basic Reqmeister module 2023-12-21 14:56:21 -06:00
Alex Gleason 5ea9cc399f Merge branch 'nip11' into 'main'
NIP-11: fix pubkey field

See merge request soapbox-pub/ditto!82
2023-12-20 04:02:07 +00:00
Alex Gleason 3ae47ee865
NIP-11: fix pubkey field 2023-12-19 22:01:41 -06:00