Commit 85d377a4 authored by michael.simon's avatar michael.simon
Browse files

last failed update time was not used

parent 0ca3f7c3
......@@ -64,7 +64,7 @@ public class UpdateAllUserFromIdp extends AbstractExecutableJob {
UserService userService = (UserService) ic.lookup("global/bwreg/bwreg-service/UserServiceImpl!edu.kit.scc.webreg.service.UserService");
List<UserEntity> userList = userService.findOrderByFailedUpdateWithLimit(new Date(System.currentTimeMillis() - lastUpdate), limit);
List<UserEntity> userList = userService.findOrderByFailedUpdateWithLimit(new Date(System.currentTimeMillis() - lastFailedUpdate), limit);
logger.debug("Updating user whith failed IDP communication attemp: {}", userList.size());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment