Skip to content

Commit

Permalink
chore: fix failing tests (#246)
Browse files Browse the repository at this point in the history
* feat: add AI summary

* fix lint errors

* chore: remove extra console logs

* chore: fix order and duplicate import

* refactor: code cleaning and refactoring

* chore: add missing env key to test env

* chore: fix failing tests

---------

Co-authored-by: Scott Piriou <[email protected]>
  • Loading branch information
wa0x6e and pscott authored Mar 25, 2024
1 parent 305f3ae commit b847684
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async function run() {
} catch (e) {
capture(e);
} finally {
await sleep(15e3);
await sleep(parseInt(process.env.QUEUE_INTERVAL || '15e3'));
await run();
}
}
Expand Down
1 change: 1 addition & 0 deletions test/.env.test
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ NFT_CLAIMER_DEPLOY_INITIALIZE_SELECTOR=0x977b0efb
NFT_CLAIMER_SUBGRAPH_URL='https://api.studio.thegraph.com/query/48277/nft-subgraph-goerli/version/latest'
STORAGE_ENGINE=file
OPENAI_API_KEY=''
QUEUE_INTERVAL=2500
# your own test AWS for credentials if you wish to test with AWS
# AWS_ACCESS_KEY_ID=
# AWS_REGION=
Expand Down

0 comments on commit b847684

Please sign in to comment.