Baby Rocklin!!! :D :)

This commit is contained in:
Mark Nadal 2018-01-21 05:32:35 -08:00
parent cb1d6d709e
commit ee91ae7612

View File

@ -8,7 +8,7 @@ Gun.on('opt', function(ctx){
this.to.next(ctx);
var opt = ctx.opt;
if(ctx.once){ return }
if(false !== opt.localStorage){ return } // TODO: Remove this after migration.
if(false !== opt.localStorage && !process.env.AWS_S3_BUCKET){ return } // TODO: Remove this after migration.
if(false === opt.radisk){ return }
console.log("BUG WARNING: Radix Storage Engine (RSE) has a known rare edge case, if data gets split between file chunks, a GET may only return the first chunk!!!");
opt.store = opt.store || Store(opt);