You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, this is not really an issue, but I'm having some troubles with the handlers.
I have one worker and two handlers doing completely different tasks.
I want to use Scribe-js to log what my worker are doing.
If I 'require' Scribe-js where my worker is, it will not be available in the handlers.
If I 'require' Scribe-js in both handlers I got an error because it looks like it's two separate instances of Scribe-js trying to write on the same files (did not work when I configure two different paths for the logs either).
Why I can't use a variable in my handler that has been declared where I instanciate my worker ?
Thank you for any help.
The text was updated successfully, but these errors were encountered:
Hello everyone, this is not really an issue, but I'm having some troubles with the handlers.
I have one worker and two handlers doing completely different tasks.
I want to use Scribe-js to log what my worker are doing.
If I 'require' Scribe-js where my worker is, it will not be available in the handlers.
If I 'require' Scribe-js in both handlers I got an error because it looks like it's two separate instances of Scribe-js trying to write on the same files (did not work when I configure two different paths for the logs either).
Why I can't use a variable in my handler that has been declared where I instanciate my worker ?
Thank you for any help.
The text was updated successfully, but these errors were encountered: