Loading data/modules/match.lua +1 −1 Original line number Diff line number Diff line Loading @@ -197,7 +197,7 @@ local function match_loop(context, dispatcher, tick, state, messages) print("match " .. context.match_id .. " tick " .. tick) print("match " .. context.match_id .. " messages:\n" .. du.print_r(messages)) end if tick < 180 then if tick < 10 then return state end end Loading server/core_notification.go +3 −1 Original line number Diff line number Diff line Loading @@ -163,7 +163,9 @@ func NotificationDelete(logger *zap.Logger, db *sql.DB, userID uuid.UUID, notifi params = append(params, id) } _, err := db.Exec("DELETE FROM notification WHERE user_id = $1 AND id IN ("+strings.Join(statements, ", ")+")", params...) query := "DELETE FROM notification WHERE user_id = $1 AND id IN (" + strings.Join(statements, ", ") + ")" logger.Debug("Delete notification query", zap.String("query", query), zap.Any("params", params)) _, err := db.Exec(query, params...) if err != nil { logger.Error("Could not delete notifications.", zap.Error(err)) return err Loading Loading
data/modules/match.lua +1 −1 Original line number Diff line number Diff line Loading @@ -197,7 +197,7 @@ local function match_loop(context, dispatcher, tick, state, messages) print("match " .. context.match_id .. " tick " .. tick) print("match " .. context.match_id .. " messages:\n" .. du.print_r(messages)) end if tick < 180 then if tick < 10 then return state end end Loading
server/core_notification.go +3 −1 Original line number Diff line number Diff line Loading @@ -163,7 +163,9 @@ func NotificationDelete(logger *zap.Logger, db *sql.DB, userID uuid.UUID, notifi params = append(params, id) } _, err := db.Exec("DELETE FROM notification WHERE user_id = $1 AND id IN ("+strings.Join(statements, ", ")+")", params...) query := "DELETE FROM notification WHERE user_id = $1 AND id IN (" + strings.Join(statements, ", ") + ")" logger.Debug("Delete notification query", zap.String("query", query), zap.Any("params", params)) _, err := db.Exec(query, params...) if err != nil { logger.Error("Could not delete notifications.", zap.Error(err)) return err Loading