🎈 perf(数据库): 慢查询优化
This commit is contained in:
@@ -11,6 +11,7 @@ import { AUCTION_STAGE, BID_REC_COUNT, GUILD_LOTS_REC_COUNT, LOTS_KEEP_TO_WORLD_
|
||||
@index({ sort: 1 })
|
||||
@index({ seq: 1 })
|
||||
@index({ code: 1 })
|
||||
@index({ begin: -1 })
|
||||
@index({ guildCode: 1, begin: -1 })
|
||||
@index({ serverId: 1, begin: -1, watchingRoles: 1 })
|
||||
export default class Lot extends BaseModel {
|
||||
|
||||
Reference in New Issue
Block a user