hubotio / hubot-redis-brain

A hubot script to persist hubot's brain using redis
69 stars 55 forks source link

When is state storage initiated? #15

Closed dennari closed 7 years ago

dennari commented 8 years ago

Since the autosave is turned off, I guess the only time the state is saved is when the robot.shutdown method is called. I'm wondering, since I'm unable to see any content in my redis.

nanaeasiedu commented 8 years ago

@dennari The autosave is turned off temporarily and turned back on again after there a connection to redis is established.

The state is saved anytime the brain emits save event.

stale[bot] commented 7 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

mose commented 7 years ago

Great answer @ngenerio :)