Skip to content

Commit

Permalink
Unit of the poll_interval setting defined
Browse files Browse the repository at this point in the history
Clarify that the interval is given in seconds
  • Loading branch information
Jajcus committed Nov 6, 2011
1 parent 4d66304 commit 3961ab4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyxmpp2/mainloop/__init__.py
Expand Up @@ -29,8 +29,8 @@
XMPPSettings.add_setting(u"poll_interval", type = float, default = 1.0,
validator = XMPPSettings.validate_positive_float,
cmdline_help = "Polling interval",
doc = u"""Maximum time to wait for an event. Smaller value may increase
response times, by the cost of higher CPU usage."""
doc = u"""Maximum time (in seconds) to wait for an event. Smaller value
may increase response times, by the cost of higher CPU usage."""
)

if hasattr(select, "poll"):
Expand Down

0 comments on commit 3961ab4

Please sign in to comment.