[2016-03-17 17:11:25.349] [ERROR] console - Mongoose: users.ensureIndex({ name: 1 }) { unique: true, background: true }
[2016-03-17 17:11:25.356] [ERROR] console - Mongoose: timers.find({ state: 1 }) { fields: undefined }
[2016-03-17 17:11:25.358] [ERROR] console - Mongoose: queues.ensureIndex({ ‘meta.createAt’: 1 }) { expireAfterSeconds: 2592000, background: true }
[2016-03-17 17:11:25.359] [ERROR] console - Mongoose: options.ensureIndex({ name: 1 }) { unique: true, background: true }
var userSchema = new Schema({ name: { type: String, unique: true, index: true, set: mailTolower, get: mailTolower }, pwd: String, email: { type: String, unique: true, index: true, set: mailTolower, get: mailTolower }, meta: { createAt: { type: Date }, updateAt: { type: Date } } });
错误信息有点少啊 看不出啥了~~
没有其它的错误信息,这些字段都设置了索引,在debug模式下,还是打印出这些错误日志。