Add in compile timeout and group feature options

This commit is contained in:
James Allen 2014-10-13 15:42:11 +01:00
parent cfb3969b88
commit 5edefe2498
2 changed files with 4 additions and 0 deletions

View file

@ -31,6 +31,8 @@ UserSchema = new Schema
collaborators: { type:Number, default: Settings.defaultFeatures.collaborators } collaborators: { type:Number, default: Settings.defaultFeatures.collaborators }
versioning: { type:Boolean, default: Settings.defaultFeatures.versioning } versioning: { type:Boolean, default: Settings.defaultFeatures.versioning }
dropbox: { type:Boolean, default: Settings.defaultFeatures.dropbox } dropbox: { type:Boolean, default: Settings.defaultFeatures.dropbox }
compileTimeout: { type:Number, default: Settings.defaultFeatures.compileTimeout }
compileGroup: { type:String, default: Settings.defaultFeatures.compileGroup }
} }
featureSwitches : { featureSwitches : {
github: {type: Boolean} github: {type: Boolean}

View file

@ -130,6 +130,8 @@ module.exports =
collaborators: -1 collaborators: -1
dropbox: true dropbox: true
versioning: true versioning: true
compileTimeout: 60
compileGroup: "standard"
plans: plans = [{ plans: plans = [{
planCode: "personal" planCode: "personal"