Skip to content

Commit

Permalink
- updated wipe to localhost
Browse files Browse the repository at this point in the history
- reduced time between fake timestamps to 3s for make_sample_log.py
  • Loading branch information
Jason Bruce committed Aug 15, 2013
1 parent 2b5cb33 commit 4314bd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion septic_tank/make_sample_log.py
Expand Up @@ -13,7 +13,7 @@ def __init__(self):
self.ips = ['10.0.0.1', '10.0.0.2', '192.168.1.35', '127.0.0.1']
self.words = ['this','is','a','sample','log','file','generator']
self.date = datetime.datetime.now()
self.delta = datetime.timedelta(minutes=4,seconds=7)
self.delta = datetime.timedelta(minutes=0,seconds=3)

def __iter__(self):
return self
Expand Down
2 changes: 1 addition & 1 deletion septic_tank/scripts/wipe_solr.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python

from pysolr import *
conn = Solr('http://localhost:8080/solr/medley')
conn = Solr('http://localhost:8983/solr/collection1')
conn.delete(q='*:*')
#conn.delete(q='date_dt:[* TO NOW/DAY-2DAYS]')

Expand Down

0 comments on commit 4314bd3

Please sign in to comment.