Code Review
/
com
/
gs-lite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Updates to examples queries. Improve real-timeness of lfta aggregation
[com/gs-lite.git]
/
demo
/
CSVEXAMPLE
/
gen_feed.py
diff --git a/demo/CSVEXAMPLE/gen_feed.py
b/demo/CSVEXAMPLE/gen_feed.py
new file mode 100644
(file)
index 0000000..
6807104
--- /dev/null
+++ b/
demo/CSVEXAMPLE/gen_feed.py
@@ -0,0
+1,9
@@
+import os
+import time
+
+while True:
+ while os.path.isfile("exampleCsv"):
+ time.sleep(1)
+ os.system("cp example.data exampleCsvX ; mv exampleCsvX exampleCsv")
+ time.sleep(1)
+