Configuring Redis to play nice with AppHarbor -
i use appharbor ci environment validate commits. i'm getting error in appharbor because redis isn't able write disk.
error:
[redisresponseexception: misconf redis configured save rdb snapshots, not able persist on disk. commands may modify data set disabled. please check redis logs details error., sport: 58823, lastcommand: ] servicestack.redis.redisnativeclient.createresponseerror(string error) +133 servicestack.redis.redisnativeclient.expectsuccess() +135 servicestack.redis.redisnativeclient.sendexpectsuccess(byte[][] cmdwithbinaryargs) +88 servicestack.redis.redisnativeclient.setex(string key, int32 expireinseconds, byte[] value) +153 servicestack.redis.redisclient.setentry(string key, string value, timespan expirein) +62
i've enabled disk write on appharbor , how start redis via code:
var startinfo = new processstartinfo(redispath, conf); startinfo.workingdirectory = appdomain.currentdomain.basedirectory; startinfo.windowstyle = processwindowstyle.minimized; startinfo.useshellexecute = false; var proc = process.start(startinfo); where in redis.conf have db directory app_data
dir ./app_data it works expected locally (rdb saved app_data). see before or know of workaround?
Comments
Post a Comment