mirror of https://github.com/xwiki-labs/cryptpad
remove some XXX notes
This commit is contained in:
parent
a333531a36
commit
57be324850
|
@ -44,7 +44,7 @@ const tryParse = function (Env, str) {
|
||||||
try {
|
try {
|
||||||
return JSON.parse(str);
|
return JSON.parse(str);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
Env.Log.error('HK_PARSE_ERROR', err); // XXX
|
Env.Log.error('HK_PARSE_ERROR', err);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ const Store = require("../storage/file");
|
||||||
const BlobStore = require("../storage/blob");
|
const BlobStore = require("../storage/blob");
|
||||||
|
|
||||||
const UNAUTHENTICATED_CALLS = {
|
const UNAUTHENTICATED_CALLS = {
|
||||||
GET_FILE_SIZE: Pinning.getFileSize, // XXX TEST
|
GET_FILE_SIZE: Pinning.getFileSize,
|
||||||
GET_MULTIPLE_FILE_SIZE: Pinning.getMultipleFileSize,
|
GET_MULTIPLE_FILE_SIZE: Pinning.getMultipleFileSize,
|
||||||
GET_DELETED_PADS: Pinning.getDeletedPads,
|
GET_DELETED_PADS: Pinning.getDeletedPads,
|
||||||
IS_CHANNEL_PINNED: Pinning.isChannelPinned,
|
IS_CHANNEL_PINNED: Pinning.isChannelPinned,
|
||||||
|
|
|
@ -160,8 +160,8 @@ var createUser = function (config, cb) {
|
||||||
wc.leave();
|
wc.leave();
|
||||||
}));
|
}));
|
||||||
}).nThen(function (w) {
|
}).nThen(function (w) {
|
||||||
// give the server time to write your mailbox data before checking that it's correct
|
// FIXME give the server time to write your mailbox data before checking that it's correct
|
||||||
// XXX chainpad-server sends an ACK before the channel has actually been created
|
// chainpad-server sends an ACK before the channel has actually been created
|
||||||
// causing you to think that everything is good.
|
// causing you to think that everything is good.
|
||||||
// without this timeout the GET_METADATA rpc occasionally returns before
|
// without this timeout the GET_METADATA rpc occasionally returns before
|
||||||
// the metadata has actually been written to the disk.
|
// the metadata has actually been written to the disk.
|
||||||
|
|
Loading…
Reference in New Issue