Remove debug override
This commit is contained in:
parent
20dc871303
commit
1ad41d7e58
|
|
@ -38,7 +38,7 @@ export class FileStore {
|
||||||
save(channelName, data) {
|
save(channelName, data) {
|
||||||
const filename = this.filenameForChannel(channelName);
|
const filename = this.filenameForChannel(channelName);
|
||||||
const fileContents = new Buffer(JSON.stringify(data), 'utf8');
|
const fileContents = new Buffer(JSON.stringify(data), 'utf8');
|
||||||
if (fileContents.length > 0*SIZE_LIMIT) {
|
if (fileContents.length > SIZE_LIMIT) {
|
||||||
return Promise.reject(new ChannelStateSizeError(
|
return Promise.reject(new ChannelStateSizeError(
|
||||||
'Channel state size is too large', {
|
'Channel state size is too large', {
|
||||||
limit: SIZE_LIMIT,
|
limit: SIZE_LIMIT,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue