remove XXX
This commit is contained in:
@@ -23,7 +23,7 @@ var sumChannelSizes = function (sizes) {
|
||||
.reduce(function (a, b) { return a + b; }, 0);
|
||||
};
|
||||
|
||||
// XXX it's possible for this to respond before the server has had a chance
|
||||
// FIXME it's possible for this to respond before the server has had a chance
|
||||
// to fetch the limits. Maybe we should respond with an error...
|
||||
// or wait until we actually know the limits before responding
|
||||
var getLimit = Pinning.getLimit = function (Env, publicKey, cb) {
|
||||
|
||||
@@ -81,7 +81,8 @@ Quota.updateCachedLimits = function (Env, cb) {
|
||||
|
||||
req.on('error', function (e) {
|
||||
Quota.applyCustomLimits(Env);
|
||||
if (!Env.domain) { return cb(); } // XXX
|
||||
// FIXME this is always falsey. Maybe we just suppress errors?
|
||||
if (!Env.domain) { return cb(); }
|
||||
cb(e);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user