fix: force garbage collection
Compare changes
+ 7
− 2
@@ -58,12 +58,17 @@ export const queryService = async (db: DbConnection, cypher: QueryCypher, useCac
The latter Bun.gc(true) is in a timeout, because at the time of calling, publisher and result are still accesible, so they wont be cleaned. 100ms the closure is completed, so they should be cleaned up.