Skip to content

Commit

Permalink
feat(feedback): queue support for ticket creation
Browse files Browse the repository at this point in the history
The jira, gitlab and github issues are now created in async,
and do not block the createFeedback mutation.

Introduced bullmq for handling the jobs in the background.
  • Loading branch information
deshmukhmayur committed Aug 30, 2023
1 parent 45e1422 commit 75e0e63
Show file tree
Hide file tree
Showing 15 changed files with 1,382 additions and 309 deletions.
4 changes: 4 additions & 0 deletions packages/feedback-service/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ DB_NAME=db_name

NODE_TLS_REJECT_UNAUTHORIZED=

## REDIS
REDIS_HOST=localhost
REDIS_PORT=6379

## Github Configuration
GITHUB_API=
GITHUB_AUTH_TOKEN=
Expand Down
3 changes: 2 additions & 1 deletion packages/feedback-service/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module.exports = {
},
plugins: ['@typescript-eslint'],
rules: {
'no-underscore-dangle':'off'
'no-underscore-dangle': 'off',
'space-in-parens': ['never']
},
};
6 changes: 6 additions & 0 deletions packages/feedback-service/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSpacing": false
}
Loading

0 comments on commit 75e0e63

Please sign in to comment.