Commit graph

21 commits

Author SHA1 Message Date
Alex Gleason
d73370cc68
Convert IN operators to = ANY() operators on Postgres 2024-07-31 14:41:04 -05:00
Alex Gleason
c2f578a2bb
DittoPostgres: handle pool not being opened yet 2024-07-16 09:26:49 -05:00
Siddharth Singh
3aa8266bbe
use idle count to get avl connections 2024-07-16 07:44:55 +05:30
Siddharth Singh
53343ba349
messing with conn stats 2024-07-16 07:44:39 +05:30
Siddharth Singh
404306f203
change to connection-stats branch 2024-07-15 14:23:23 +05:30
Alex Gleason
c2b13b1a63
Add a ts-ignore instead of as any 2024-07-11 17:22:12 -05:00
Alex Gleason
cd961dad86
delay -> sleep, style tweaks 2024-07-11 17:19:47 -05:00
Siddharth Singh
36b9aae1ab
switch to postgres.js available-connections branch temporarily 2024-07-06 20:07:02 +05:30
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
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
Siddharth Singh
ae140933f5
replace kysely_deno_postgres with kysely-postgres-js 2024-06-30 13:13:01 +05:30
Alex Gleason
d7d14194d7
Collect database connections metrics 2024-06-24 22:01:01 -05:00
Alex Gleason
1fe4b4bb81
Upgrade kysely_deno_postgres 2024-06-17 23:36:50 -05:00
Alex Gleason
250998405a
Rework database Conf to easily get the dialect 2024-05-24 20:07:38 -05:00
Alex Gleason
43e8f2a698
Use a Kysely logger to log SQL regardless of the adapter used 2024-05-08 12:56:42 -05:00
Alex Gleason
5e1cfad5cc
Add PG_POOL_SIZE environment variable 2024-05-08 11:46:27 -05:00
Alex Gleason
a3e54fdff4
DittoPostgres: use pool size for number of CPU cores 2024-05-06 11:44:33 -05:00
Alex Gleason
80e554a5c9
Update deno.json imports 2024-04-19 21:08:13 -05:00
Alex Gleason
2e41254507
Add Postgres adapter 2024-04-19 15:17:09 -05:00