mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-29 02:46:32 +01:00
e3bdf30084
* silence some test logs * admit defeat in the battle with `esModuleInterop` * add basic typescript piscina workers * es module fix * remove rollup and compile directly with typescript * fix fetch import error * make piscina work in jest, dist and dev... run plugins through it * simplify tests * store plugin status on the `server` * config types * not all keys needed * add worker concurrency setting * clean up code * fix test worker code * add a basic benchmark test * refactor test * refactor test utils * support more serialized binary formats * mock jest behind enemy lines * less verbose logs in tests * add test to make sure adding more CPU cores makes plugins faster! * clone objects * add 12 * fix linter's worries * remove extra word * improve display * remove the exact cpu count from the list * add postgres and redis services to github to make tests pass * add ENV to config * add ENV to config * add db:init script * add db:init script to CI * No prepublish on yarn install * return queue worker directly * SCREAM! (just a bit more) * remove buffer deprecation warning * run tests serially (so that only one piscina performance test runs at a time) * queue stop * sigterm on piscina error * shut down only once * fix env override * do not always override ENV * do not always override ENV * create team in db-init * test parallelism on github actions (2 cpu cores) |
||
---|---|---|
.. | ||
db-init.ts |