Skip to content

Commit

Permalink
feat: default value refresh rate
Browse files Browse the repository at this point in the history
  • Loading branch information
gmann7 committed Nov 25, 2024
1 parent 82501d7 commit fee2922
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class ConfigSRV implements IConfigSRV {
@Autowired
private ProfileUtility profiles;

@Value("${ms.config.refresh-rate}")
@Value("${ms.config.refresh-rate:900000}")
private Long refreshRate;

private final Map<String, Pair<Long, String>> props;
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,5 @@ ms.url.gtw-config=-
#######################################
# GTW-CONFIG
#######################################
# default value 15 minutes
ms.config.refresh-rate=300000

0 comments on commit fee2922

Please sign in to comment.