Skip to content

Commit

Permalink
Increase maximum settings size for settings service
Browse files Browse the repository at this point in the history
This is to give adequate capacity for Starmash settings
  • Loading branch information
congratulatio committed Jan 18, 2020
1 parent 34c9275 commit cc8fa09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion servers/settings.js
Expand Up @@ -63,7 +63,7 @@ var loginPublicKey;
* Upper limit on settings data, per player
*/

const SETTINGS_MAX_SIZE = 1024;
const SETTINGS_MAX_SIZE = 8192;

/*
* Log all requests to this service for debugging purposes
Expand Down Expand Up @@ -121,6 +121,7 @@ var getUserIdFromAuthToken = function(req) {
log(req.reqid, 'error', 'authentication data must be a non-null object', JSON.stringify(data));
return null;
}

// user id, timestamp, and purpose must be specified in token
if (undefined === auth.uid ||
undefined === auth.ts ||
Expand Down

0 comments on commit cc8fa09

Please sign in to comment.