Skip to content

Commit

Permalink
Update 'hazelcast.diagnostics.memberinfo.period.seconds' Property To …
Browse files Browse the repository at this point in the history
…Use 'seconds' In Plural (#1512)

In the current documentation, the name of the property in question is as
follows:

```bash
hazelcast.diagnostics.memberinfo.period.second
```

This name exists in two places:
* [Configuration of the `HazelcastInstance` diagnostics
plugin](https://docs.hazelcast.com/hazelcast/5.5/maintain-cluster/monitoring#hazelcastinstance)
* [System properties
reference](https://docs.hazelcast.com/hazelcast/5.5/system-properties#hide-nav)

In Hazelcast Platform's source code, however, it's called
`hazelcast.diagnostics.memberinfo.period.seconds`, see
[MemberHazelcastInstanceInfoPlugin.java](https://github.com/hazelcast/hazelcast/blob/7b365b48eea173c322e895da552517e693f29134/hazelcast/src/main/java/com/hazelcast/internal/diagnostics/MemberHazelcastInstanceInfoPlugin.java#L43).

This PR updates the two aforementioned occurrences, so they correspond
to the name of the property in the source code.

Co-authored-by: Oliver Howell <[email protected]>
  • Loading branch information
AntsInMyEy3sJohnson and oliverhowell authored Feb 3, 2025
1 parent b55d2a6 commit e40f77b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/system-properties.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ along with this and the following diagnostic related system properties, see the
0 means this plugin is disabled.


|`hazelcast.diagnostics.memberinfo.period.second`
|`hazelcast.diagnostics.memberinfo.period.seconds`
|60
|long
|Frequency, in seconds, at which the cluster information is dumped to the diagnostics log file.
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/maintain-cluster/pages/monitoring.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1815,7 +1815,7 @@ It is useful to get a fast impression of the cluster without needing to analyze

You can configure the frequency at which the cluster information is dumped to the log file using the following property:

* `hazelcast.diagnostics.memberinfo.period.second`: Set a value in seconds. Its default value is `60` seconds.
* `hazelcast.diagnostics.memberinfo.period.seconds`: Set a value in seconds. Its default value is `60` seconds.

==== EventQueue

Expand Down

0 comments on commit e40f77b

Please sign in to comment.