Thread: eMonitor
View Single Post
Old 06-09-2012, 11:56 AM   #50
w126
Junior Member
w126 began at the beginning.
 
Posts: 9
Karma: 42
Join Date: May 2010
Device: Kindle Paperwhite (2013), Onyx Boox M92, Kindle 2
Quote:
Originally Posted by Armegalo View Post
Hmm... no matter what I do I can't get a refresh faster than every 6 seconds.
It may be a problem with reverse name lookup inside BaseHTTPRequestHandler.send_response() method. It was in my case, at least. Try adding the following code to serv class:
Code:
  def address_string(self):
    host, port = self.client_address[:2]
    #return socket.getfqdn(host)
    return host
I've found this solution here: http://stackoverflow.com/questions/2...r-on-localhost
w126 is offline   Reply With Quote