Skip to content

Commit

Permalink
fixes to default values for worker
Browse files Browse the repository at this point in the history
  • Loading branch information
inlife committed Mar 17, 2024
1 parent a89034f commit ace9f19
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Ignore everything:
/*
/*
6 changes: 4 additions & 2 deletions packages/nexrender-worker/src/instance.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ const createWorker = () => {
* @return {Promise}
*/
const start = async (host, secret, settings, headers) => {
settings = init(Object.assign({ process: 'nexrender-worker' }, settings, {
settings = init(Object.assign({
process: 'nexrender-worker',
stopOnError: false,
logger: console,
}))
}, settings))

settingsRef = settings;
active = true;
Expand Down

0 comments on commit ace9f19

Please sign in to comment.