Alex Gleason
|
193dd1a011
|
EventsDB: remove queries for ephemeral kinds
|
2024-07-04 23:38:16 +01:00 |
|
P. Reis
|
ba29035413
|
refactor: put conditional into just one line
|
2024-07-02 18:43:28 -03:00 |
|
P. Reis
|
d3c3ecfd35
|
test(EventsDB): refactor to use RelayError instead of Error
|
2024-07-02 18:40:21 -03:00 |
|
P. Reis
|
e169749b82
|
refactor(EventsDB): throw RelayError instead of Error
|
2024-07-02 18:39:55 -03:00 |
|
P. Reis
|
2d017e8102
|
refactor(relay): remove invalid filter condition
|
2024-07-02 18:39:22 -03:00 |
|
P. Reis
|
a868512188
|
refactor: error messages in app.onError()
|
2024-07-02 18:38:16 -03:00 |
|
P. Reis
|
1731e7dac9
|
Merge branch 'main' into handle-timeout-error
(((updating local branch)))
|
2024-07-02 17:31:36 -03:00 |
|
P. Reis
|
360efe089d
|
test(EventsDB): throw error for large since, until and kinds filter
|
2024-07-02 17:31:12 -03:00 |
|
P. Reis
|
cac5c9c1e0
|
refactor: change timeout error message
|
2024-07-02 17:17:29 -03:00 |
|
P. Reis
|
e6c38550c6
|
feat: add onError() function hono handler
|
2024-07-02 17:15:47 -03:00 |
|
P. Reis
|
a7f2fb06ee
|
feat(relay): send custom error messages - since, until & kind
|
2024-07-02 17:09:17 -03:00 |
|
Alex Gleason
|
3e7bab538a
|
Increase timeout for account statuses endpoint and feed endpoints
|
2024-07-02 20:13:44 +01:00 |
|
Alex Gleason
|
c7092f5d2d
|
Increase query timeout of feeds
|
2024-07-02 09:22:59 +01:00 |
|
Alex Gleason
|
fd769c125c
|
Merge branch 'zapped-by-pagination-sort-amount' into 'main'
zapped_by: add pagination & sort amount
Closes #159
See merge request soapbox-pub/ditto!394
|
2024-07-02 05:17:11 +00:00 |
|
Alex Gleason
|
ae687bb525
|
Increase timeouts
|
2024-07-01 23:05:03 +01:00 |
|
Alex Gleason
|
3ae6d39ebc
|
Increase notifications endpoint timeout
|
2024-07-01 20:29:06 +01:00 |
|
Alex Gleason
|
4e150edb5b
|
Actually enable query timeouts 🤦
|
2024-07-01 19:48:28 +01:00 |
|
Alex Gleason
|
092a20088a
|
Reduce timeouts
|
2024-07-01 09:18:42 +01:00 |
|
Alex Gleason
|
c3ffe7c7f7
|
EventsDB: fix limit being passed to NDatabase
|
2024-07-01 08:53:03 +01:00 |
|
Alex Gleason
|
d062f6bbb6
|
Try lazy pool initialization
|
2024-07-01 08:44:01 +01:00 |
|
Alex Gleason
|
9ea6c7b00b
|
Add query timeouts
|
2024-06-29 22:26:51 +01:00 |
|
P. Reis
|
7f7efd12b8
|
fix(dbQueryTimeHistogram): change name to milliseconds ms instead of seconds
|
2024-06-27 13:32:23 -03:00 |
|
P. Reis
|
9cdb8ec534
|
fix(KyselyLogger): use dbQueryTimeHistogram.observe
|
2024-06-27 10:34:12 -03:00 |
|
P. Reis
|
a81bc57961
|
refactor(dbQueryTimeHistogram): get rid of labelNames and buckets
|
2024-06-27 10:32:07 -03:00 |
|
P. Reis
|
ac9bdfde62
|
refactor(KyselyLogger): use startTimer instead of observe
|
2024-06-27 10:23:10 -03:00 |
|
P. Reis
|
d580cac763
|
refactor: dbQueryTimeHistogram
|
2024-06-27 10:20:55 -03:00 |
|
P. Reis
|
0f392b2dba
|
fix(relays): get rid of custom kind 13314 conditional
|
2024-06-27 10:12:44 -03:00 |
|
Siddharth Singh
|
3e40e690c5
|
check admin pubkey while changing threshold
|
2024-06-26 01:44:44 +05:30 |
|
Siddharth Singh
|
ab5f451929
|
fmt
|
2024-06-26 01:33:02 +05:30 |
|
Siddharth Singh
|
7c7c584b78
|
basic (and incredibly stupid but potentially genius) db_query_time histogram
|
2024-06-26 01:30:16 +05:30 |
|
Alex Gleason
|
d7d14194d7
|
Collect database connections metrics
|
2024-06-24 22:01:01 -05:00 |
|
Alex Gleason
|
7ecfcd84b3
|
Actually use metricsMiddleware, whoops
|
2024-06-24 15:49:27 -05:00 |
|
P. Reis
|
797c866830
|
refactor: storeEvent does not return event, move kysely into a variable above
|
2024-06-24 12:07:33 -03:00 |
|
Alex Gleason
|
e6cd3d9e47
|
prometheus: add gauges for websocket connections
|
2024-06-24 09:23:26 -05:00 |
|
Alex Gleason
|
e0b1029953
|
prometheus: track relay messages by verb
|
2024-06-24 08:18:11 -05:00 |
|
P. Reis
|
fdb720386d
|
fix(handleZaps): reject all kinds but 9735
|
2024-06-23 23:51:10 -03:00 |
|
P. Reis
|
e1ee3bd8e9
|
refactor: remove scavenger, put logic directly into pipeline
|
2024-06-23 23:45:32 -03:00 |
|
P. Reis
|
05bf417bcc
|
perf(event_zaps): make two separate indexes instead of a compound index
|
2024-06-23 22:49:15 -03:00 |
|
P. Reis
|
3a8ade4de2
|
Merge branch 'main' into zapped-by-pagination-sort-amount
|
2024-06-23 18:49:56 -03:00 |
|
Siddharth Singh
|
3f7687d59f
|
make changes according to 24-06-24 review
|
2024-06-24 02:34:49 +05:30 |
|
Siddharth Singh
|
f19afa449a
|
add the ditto.external field to statuses and accounts
|
2024-06-24 02:03:31 +05:30 |
|
Siddharth Singh
|
60b4ea4643
|
add config values for external nostr viewer back to source code
|
2024-06-24 02:02:58 +05:30 |
|
Alex Gleason
|
39fb1eee5f
|
Import Sentry into workers
|
2024-06-23 11:59:08 -05:00 |
|
P. Reis
|
0d7ef68353
|
feat: add pagination and sort by amount - zapped_by endpoint
|
2024-06-23 13:38:40 -03:00 |
|
Alex Gleason
|
c44347e9d1
|
Fix relay metrics
|
2024-06-22 10:28:42 -05:00 |
|
Alex Gleason
|
e50ba819b9
|
metrics: remove path from fetch and request metrics
|
2024-06-22 09:08:32 -05:00 |
|
Alex Gleason
|
88df19494a
|
Expose /metrics in hono
|
2024-06-21 22:46:37 -05:00 |
|
Alex Gleason
|
31a5533fd7
|
Add Prometheus metrics
|
2024-06-21 22:38:25 -05:00 |
|
P. Reis
|
9731fc2572
|
feat: add scavenger to the pipeline
|
2024-06-21 22:25:34 -03:00 |
|
P. Reis
|
89b56539d1
|
test(scavenger): code coverage 100.00%
|
2024-06-21 22:23:34 -03:00 |
|