mirror of
https://github.com/powerline/powerline.git
synced 2025-07-25 14:54:54 +02:00
Increase external IP polling interval to 5 minutes
This commit is contained in:
parent
17065b4c7e
commit
0d3559c869
@ -245,7 +245,7 @@ def _external_ip(query_url='http://ipv4.icanhazip.com/'):
|
|||||||
|
|
||||||
|
|
||||||
class ExternalIpSegment(ThreadedSegment):
|
class ExternalIpSegment(ThreadedSegment):
|
||||||
interval = 10
|
interval = 300
|
||||||
|
|
||||||
def set_state(self, query_url='http://ipv4.icanhazip.com/', **kwargs):
|
def set_state(self, query_url='http://ipv4.icanhazip.com/', **kwargs):
|
||||||
self.query_url = query_url
|
self.query_url = query_url
|
||||||
|
Loading…
x
Reference in New Issue
Block a user