Skip to content

Conversation

@oskarhane
Copy link
Member

@oskarhane oskarhane commented May 29, 2017

Applies to server config browser.credential_timeout

When receiving values from JMX, the units default is s.
So entering browser.credential_timeout=60 in the server config will give browser.credential_timeout=60 when fetching from JMX.

When parsing JMX values:
No unit => x * 1000 (seconds assumed)
ms => x
s => x * 1000
m => x * 60 * 1000

@oskarhane oskarhane changed the title Parse server config DURATION correctly Parse server config duration strings correctly May 29, 2017
Applies to server config `browser.credential_timeout`

No unit => x * 1000 (seconds assumed)
ms => x
s => x * 1000
m => x * 60 * 1000
@oskarhane oskarhane force-pushed the 3.0-parse-server-duration branch from 2100b98 to 0a178ac Compare May 31, 2017 18:28
@oskarhane oskarhane merged commit e1670fd into neo4j:3.0 May 31, 2017
@oskarhane oskarhane deleted the 3.0-parse-server-duration branch May 31, 2017 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant