Alex Gleason
|
2167106577
|
Fix not being able to post
|
2024-07-06 20:50:39 +01:00 |
|
Siddharth Singh
|
36b9aae1ab
|
switch to postgres.js available-connections branch temporarily
|
2024-07-06 20:07:02 +05:30 |
|
P. Reis
|
71bdfea317
|
refactor: get database dialect from Conf.db.dialect
|
2024-07-06 11:11:41 -03:00 |
|
Siddharth Singh
|
102398967e
|
fix type stuff
|
2024-07-06 18:18:38 +05:30 |
|
Siddharth Singh
|
3495092eff
|
add poolsize and availableconnections metrics back
|
2024-07-06 18:15:21 +05:30 |
|
Siddharth Singh
|
a804608afb
|
Merge branch 'main' into 'use-postgres-js'
# Conflicts:
# deno.json
# src/db/adapters/DittoPostgres.ts
|
2024-07-06 12:03:21 +00:00 |
|
P. Reis
|
5412d2a07b
|
fix(EventsDB): also add a split only by '@' at symbol
|
2024-07-05 20:43:13 -03:00 |
|
P. Reis
|
92231dc452
|
test: query by NIP-05
|
2024-07-05 20:42:11 -03:00 |
|
P. Reis
|
01966496c1
|
feat: print which dialect is being used when calling createTestDB
|
2024-07-05 18:49:37 -03:00 |
|
P. Reis
|
13d346afbd
|
refactor: remove console.log
|
2024-07-05 18:43:14 -03:00 |
|
P. Reis
|
fed0c70f69
|
feat: only run tests with Postgres if ALLOW_TO_USE_DATABASE_URL is set to true
|
2024-07-05 18:33:29 -03:00 |
|
P. Reis
|
7e965f4ade
|
refactor(test.ts): explain why set DATABASE_URL to sqlite://:memory:
|
2024-07-05 17:59:12 -03:00 |
|
P. Reis
|
34bbf6e39a
|
test(pipeline): refactor to use createTestDB instead of getTestDB
|
2024-07-05 17:48:34 -03:00 |
|
P. Reis
|
f380120cd3
|
test: refactor to use createTestDB instead of getTestDB
|
2024-07-05 17:48:06 -03:00 |
|
P. Reis
|
d18796956b
|
test(hydrate): refactor to only use sqlite
|
2024-07-05 17:43:47 -03:00 |
|
P. Reis
|
85fd7909e6
|
feat: add optional kysely in HydrateOpts interface
|
2024-07-05 17:42:19 -03:00 |
|
P. Reis
|
8e1826020c
|
test(EventsDB): remove createDB function
|
2024-07-05 17:35:25 -03:00 |
|
P. Reis
|
2154cf011b
|
test: create createTestDB function, supports both Sqlite and Postgres
|
2024-07-05 17:26:27 -03:00 |
|
P. Reis
|
12b2032d87
|
refactor(EventsDB.test): add one blank line between functions
|
2024-07-04 22:50:12 -03:00 |
|
P. Reis
|
a9f79176a2
|
test: support sqlite and postgres
|
2024-07-04 22:43:56 -03:00 |
|
Alex Gleason
|
96a8ccb2e6
|
HTTP Response metrics
|
2024-07-05 00:07:59 +01:00 |
|
Alex Gleason
|
d4713cae01
|
Move errorHandler to a separate file
|
2024-07-04 23:53:20 +01:00 |
|
Alex Gleason
|
193dd1a011
|
EventsDB: remove queries for ephemeral kinds
|
2024-07-04 23:38:16 +01:00 |
|
P. Reis
|
cbb48867c1
|
test: attempt to use Postgres
|
2024-07-04 18:13:31 -03:00 |
|
P. Reis
|
78d41bbd6d
|
feat(EventsDB): add nip05 split in buildUserSearchContent()
|
2024-07-03 20:41:48 -03: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 |
|
Siddharth Singh
|
65f77e845d
|
fmt
|
2024-07-01 21:43:01 +05:30 |
|
Siddharth Singh
|
98aaab8e51
|
switch to deno.land/postgresjs for free 4x speed increase
|
2024-07-01 21:42:50 +05:30 |
|
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 |
|
Siddharth Singh
|
ae140933f5
|
replace kysely_deno_postgres with kysely-postgres-js
|
2024-06-30 13:13:01 +05:30 |
|
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 |
|