Permalink
Browse files

MAX_TOTAL_SIZE=2G MAX_FILES=23 MAX_FILE_SIZE=300M

  • Loading branch information...
1 parent fd31e6e commit 0ed8d3ab0acbe549605c3857c53460c66ac40ff5 @astro astro committed Feb 22, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 files.js
  2. +1 −1 server.js
View
@@ -2,8 +2,8 @@ var fs = require('fs');
var DB_PATH = 'files.json';
var FILES_PATH = 'files';
-var MAX_FILES = 42;
-var MAX_TOTAL_SIZE = 2048 * 1024 * 1024;
+var MAX_FILES = 23;
+var MAX_TOTAL_SIZE = 2 * 1024 * 1024 * 1024;
/* Keys: id, name, size, type, date, downloads */
var files;
View
@@ -4,7 +4,7 @@ var files = require('./files');
var template = require('./template');
var sys = require('sys');
-var MAX_FILE_SIZE = 100 * 1024 * 1024;
+var MAX_FILE_SIZE = 300 * 1024 * 1024;
function enforceVhost(vhost) {
return function(req, res, next) {

0 comments on commit 0ed8d3a

Please sign in to comment.