1
0
mirror of https://github.com/seejohnrun/haste-server.git synced 2025-12-14 01:35:55 +00:00

Added postgres adapter

This commit is contained in:
John Crepezzi
2014-06-09 16:50:43 -04:00
parent 447d0aae76
commit ab029eae2f
3 changed files with 66 additions and 61 deletions

View File

@@ -56,7 +56,6 @@ DocumentHandler.prototype.handlePost = function (request, response) {
// What to do when done
var onSuccess = function () {
// Check length
console.log(buffer);
if (_this.maxLength && buffer.length > _this.maxLength) {
cancelled = true;
winston.warn('document >maxLength', { maxLength: _this.maxLength });