Closed tamlyn closed 5 years ago
I just exported the ENV for Production.
env NODE_ENV=production
Then started my bot, I get the following datafeedID
> simplebot@1.0.1 start /Users/vinay/Downloads/Development/ny-aws-meetup/simplebot
> node index.js
[DEBUG] Debug mode turned on
[DEBUG] SymBotAuth/sessionAuthenticate/str {"token":"********","name":"sessionToken"}
[DEBUG] SymBotAuth/kmAuthenticate/str {"token":"*********","name":"keyManagerToken"}
--- Symphony Client initialization ---
The BOT PIZZA BOT is ready to serve :-)
Datafeed has no "error" handler
[DEBUG] DatafeedClient/createDatafeed/str {"id":"5adb5df1-41dd-4272-9bf9-49b14eeb914c"}
Then I stopped my bot then restarted it almost immediately. Should the same datafeedID be re-used with the ENV setting?
--- Symphony Client initialization --- The BOT PIZZA BOT is ready to serve :-) Datafeed has no "error" handler [DEBUG] DatafeedClient/createDatafeed/str {"id":"444817ef-953d-4291-a624-7b054aaa734c"}
Features:
Should be fully backward compatible provided users are relying only on the functionality exposed by
SymBotClient
.