Skip to content

Commit

Permalink
updated reading int property value in EmailQuery;
Browse files Browse the repository at this point in the history
  • Loading branch information
Clemens Grosse authored and Clemens Grosse committed Jan 19, 2024
1 parent 64a2592 commit cd7aef7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class EmailQuery implements PropertyManagerProvider {
*/
private static final String MAX_READ_TRIES_PROPERTY = "MAX_READ_TRIES";

private int retryCount = Integer.parseInt(PROPERTY_MANAGER.getProperty(MAX_READ_TRIES_PROPERTY, "20"));
private int retryCount = Long.valueOf(PROPERTY_MANAGER.getLongProperty(MAX_READ_TRIES_PROPERTY, 20L)).intValue();
private long pauseMs = PROPERTY_MANAGER.getLongProperty(POLLING_TIMER_SECONDS_PROPERTY, 10L) * 1000;

private SearchTerm searchTerm;
Expand Down

0 comments on commit cd7aef7

Please sign in to comment.