mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-03 15:38:59 +00:00

Replaces the old search code with something that's not quite as much spaghetti (e.g. not evolved over too much time), and more stable (actual error handling instead of random crashes) Crawlers are now also multithreaded to deal with higher latency to some sites.
7 lines
168 B
Python
7 lines
168 B
Python
# Yes, this is trivial, but we might want to put something
|
|
# more here in the future :)
|
|
import datetime
|
|
def log(msg):
|
|
print "%s: %s" % (datetime.datetime.now(), msg)
|
|
|