ezmobius/nanite

When removing an agent from the redis store,redis throws an 'invalid function'

ejgagnon opened this issue · 1 comments

In nanite/state.rb, line 88 has an 'sdelete', which is thrown as an invalid function call when passed into redis. Replacing the sdelete with 'srem' eliminates this problem. It looks like an oversight made when moving from the earlier version of redis, am I missing something? Or is this a safe fix?

Doh! That last remaining incompatible statement was removed in a branch. I shall apply the fix immediately.