Commit Graph

33 Commits

Author SHA1 Message Date
Amir Nissim
d4fa34fe4b harcode dependencies 2013-12-29 18:25:50 +02:00
Arik Fraimovich
02f5979e9a Add afork to mitigate issues of mixing threading and forking 2013-12-18 09:40:48 +02:00
Arik Fraimovich
93162fed85 Take only needed vals for connection params 2013-12-17 12:46:06 +02:00
Arik Fraimovich
eea0c2e060 More places where I need to use redis_connection 2013-12-17 12:19:50 +02:00
Arik Fraimovich
f08ebf2256 Run annotated queries. 2013-12-17 12:03:10 +02:00
Arik Fraimovich
6e0d1c613c Change Job to use redis connection instead of data manager & use own redis connection in forked process. 2013-12-17 12:02:58 +02:00
Arik Fraimovich
0f09bbc253 Set proctitle for worker 2013-12-16 18:52:30 +02:00
Arik Fraimovich
1e92240cbd Return query stats (runtime and such) in API. 2013-12-08 15:25:44 +02:00
Arik Fraimovich
7068e68b8f No more using connection pool in DataManager, as it used accross processes 2013-12-06 20:56:08 +02:00
Arik Fraimovich
fc7412adae Add log_level to settings_example 2013-12-06 17:52:13 +02:00
Arik Fraimovich
fef4dadd58 More readable status 2013-12-06 15:50:02 +02:00
Arik Fraimovich
c10c7a959d Jobs done counter was updated in the wrong place 2013-12-06 15:32:36 +02:00
Arik Fraimovich
25c6bc2252 Improved system status. 2013-12-06 15:14:39 +02:00
Arik Fraimovich
cd03948164 Instead of killing the process, send SIGINT and cancel query on interupt. 2013-12-01 11:52:14 +02:00
Arik Fraimovich
206709b703 Show cancel button in UI. 2013-11-29 21:30:03 +02:00
Arik Fraimovich
e47f78f657 Job: when cancelling send SIGKILL instead of SIGINT. 2013-11-29 21:30:03 +02:00
Arik Fraimovich
1e3be5b4b8 Job: support for old job that had no process id. 2013-11-29 21:30:03 +02:00
Arik Fraimovich
e8aa8e094f Naive implementation of job cancel 2013-11-29 21:30:03 +02:00
Arik Fraimovich
a604fcf8a4 Store job process id 2013-11-29 21:30:03 +02:00
Arik Fraimovich
8381bd14c5 If worker forked process didn't exit cleanly, update job 2013-11-29 21:30:02 +02:00
Arik Fraimovich
7ef1ed400b Don't use connection pool in query runner 2013-11-29 21:30:02 +02:00
Arik Fraimovich
a88582a579 Fix: child process wasn't exiting 2013-11-29 21:30:02 +02:00
Arik Fraimovich
1131df9c78 Run query in forked process 2013-11-29 21:30:02 +02:00
Arik Fraimovich
24492bbe2d Log exception when refresh queries fails 2013-11-29 21:30:02 +02:00
Arik Fraimovich
7ca1b5e761 Make qr take redis connection params from the general redis connection 2013-11-04 15:52:48 +02:00
Arik Fraimovich
2c21ae28d9 Fix: move utf deocding to proper place 2013-10-30 17:38:05 +02:00
Arik Fraimovich
c0c2fed6ac Fix: when query had unicode characters it was failling to execute 2013-10-30 17:11:00 +02:00
Arik Fraimovich
cf1d20c958 Don't send query result when saving a query 2013-10-30 16:51:08 +02:00
Arik Fraimovich
c24b6cabc9 Move cookie secret to settings. #7 2013-10-28 19:48:20 +02:00
Arik Fraimovich
942e8fc698 redash -> re:dash 2013-10-28 10:33:12 +02:00
Arik Fraimovich
38abcbc6fa Code documentation 2013-10-27 18:15:35 +02:00
Arik Fraimovich
c1ab17ead8 Updated SQL script to generate tables 2013-10-27 15:33:24 +02:00
Arik Fraimovich
653d60dfb2 Initial commit. 2013-10-25 10:26:07 +03:00