Skip to content

Commit

Permalink
fix: fixing mysql syntax for 5.7 (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamassoltesz authored Dec 20, 2024
1 parent ba219c0 commit 1326d5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public static List<BulkImportUser> getBulkImportUsersAndChangeStatusToProcessing
String selectQuery = "SELECT * FROM " + Config.getConfig(start).getBulkImportUsersTable()
+ " WHERE app_id = ?"
+ " AND (status = 'NEW' OR status = 'PROCESSING')" /* 10 mins */
+ " LIMIT ? FOR UPDATE SKIP LOCKED";
+ " LIMIT ? FOR UPDATE";


List<BulkImportUser> bulkImportUsers = new ArrayList<>();
Expand Down

0 comments on commit 1326d5d

Please sign in to comment.