|
@@ -115,7 +115,7 @@ public class SendNewRegisterLeads implements Job {
|
|
|
|
|
|
private List<UserLogin> getRecentUserLogins() {
|
|
|
Date currentTime = new Date();
|
|
|
- long oneHourAgoMillis = currentTime.getTime() - 3600000*24;
|
|
|
+ long oneHourAgoMillis = currentTime.getTime() - 3600000;
|
|
|
Date oneHourAgo = new Date(oneHourAgoMillis);
|
|
|
return userLoginService.getUserLoginsByRegistrationTime(oneHourAgo);
|
|
|
}
|