Skip to content

Commit

Permalink
- make eureka to not wait for sync
Browse files Browse the repository at this point in the history
  • Loading branch information
spolnik committed Apr 21, 2018
1 parent a4b73fa commit 7c83d3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/versioning.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//noinspection GroovyAssignabilityCheck
version = new ProjectVersion(
'2', '0', '0', System.env.TRAVIS_BUILD_NUMBER
'2', '0', '1', System.env.TRAVIS_BUILD_NUMBER
)

println "Version number: " + version
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ eureka:
fetchRegistry: false
serviceUrl:
defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/
server:
waitTimeInMsWhenSyncEmpty: 0

0 comments on commit 7c83d3e

Please sign in to comment.