Commit Graph

1896 Commits

Author SHA1 Message Date
Daniel García Aubert
d60e2107af Add error callback to ogr command while spawning 2017-04-11 09:43:25 +02:00
Daniel García Aubert
2276187c27 Release 1.44.2 2017-04-05 15:05:29 +02:00
Daniel
41eddb3bb4 Merge pull request #416 from CartoDB/fix-enqueue-first
Update queue index while enqueueing jobs to the top of queue
2017-04-05 15:04:06 +02:00
Daniel García Aubert
7d24ce671b Update queue index while enqueueing jobs to the top of queue 2017-04-05 11:43:29 +02:00
Daniel García Aubert
bc43680202 Stubs next version 2017-04-04 17:02:07 +02:00
Daniel García Aubert
7d2e1e11ea Release 1.44.1 2017-04-04 17:00:44 +02:00
Daniel
c4557f3c20 Merge pull request #415 from CartoDB/avoid-scan-to-discover-queues
Avoid scan command to discover queues
2017-04-04 16:49:46 +02:00
Raul Ochoa
ea9454d87c Add test to validate old jobs will get discovered 2017-04-04 15:42:34 +02:00
Daniel García Aubert
c1dff1e395 Improve naming 2017-04-04 10:34:07 +02:00
Daniel García Aubert
25a291bb38 Improve waek assertion 2017-04-04 09:50:45 +02:00
Daniel García Aubert
36d5dc1719 Queue seeker refactor:
- Extract from job subcriber everything related to queue dicovering
 - Job Queue is responsible of queue dicovering and exposes functions to scan user queues.
 - Batch creates an interval to consume queues
 - Now Batch.start() does:
  * Finds existing queues from metadata, adding to queue index the ones that are not indexed yet
  * Binds callback to process jobs for every queue found.
  * Inits queue consumer interval
  * Subscribes to PUB/SUB channel
2017-04-03 19:26:21 +02:00
Daniel García Aubert
3a0bbc1ead Avoid use sleep function 2017-04-03 14:40:23 +02:00
Daniel García Aubert
dbdfe86171 Remove mocha hooks 2017-04-03 13:07:27 +02:00
Daniel García Aubert
e4e6207565 Add test 2017-04-03 12:59:23 +02:00
Daniel García Aubert
24ff1cf808 Discover and add to index queues of users with jobs on batch service startup 2017-04-03 12:34:30 +02:00
Daniel García Aubert
8f35e1d1af Fix typo 2017-04-03 11:38:20 +02:00
Daniel García Aubert
dd7cb73337 Remove unused dependency 2017-03-31 14:34:24 +02:00
Daniel García Aubert
da2a98cdb5 Merge branch 'master' into avoid-scan-to-discover-queues 2017-03-31 14:31:40 +02:00
Daniel García Aubert
8012fe26aa Avoid scan behaviour to discover active queues of user's jobs, now keeps an index to know which queues are available 2017-03-31 14:30:33 +02:00
Raul Ochoa
e3246c41eb Stubs next version 2017-03-30 17:55:21 +02:00
Raul Ochoa
bceb9e8b91 Release 1.44.0 2017-03-30 17:54:49 +02:00
Raul Ochoa
0e984ed3d4 Update news and bump version 2017-03-30 17:53:58 +02:00
Raul Ochoa
220a0d805c Merge pull request #414 from CartoDB/active-gc
Make active GC cycles for Node.js >=v6
2017-03-30 17:49:07 +02:00
Raul Ochoa
28af78ba99 Avoid global stats client 2017-03-30 17:32:22 +02:00
Raul Ochoa
57d7ec3048 Make active GC cycles for Node.js >=v6 2017-03-30 16:27:34 +02:00
Raul Ochoa
db9bfacf07 Extract stats client creation 2017-03-30 16:13:17 +02:00
Daniel García Aubert
6592435e87 Use COUNT option for scan command 2017-03-29 20:40:40 +02:00
Daniel García Aubert
09d5a14ade Check data from redis scan is an array 2017-03-29 20:04:19 +02:00
Daniel García Aubert
56429ffebf Use traditional for loop instead of .forEach() 2017-03-29 19:54:08 +02:00
Daniel García Aubert
2edfd1fad5 Compare interger instead of strings 2017-03-29 19:51:19 +02:00
Daniel García Aubert
34b352a0a6 Use max number of attempts to scan user queues 2017-03-29 19:38:36 +02:00
csobier
05bb3f67f1 Merge pull request #410 from CartoDB/docs-fixedtypo
fixed typo
2017-02-14 07:17:56 -05:00
csobier
3ce678b9ac fixed typo
Found an old, typo. Fixed
2017-02-13 17:31:21 -05:00
Raul Ochoa
742d7255a1 Log Node.js version on startup 2017-02-10 10:03:36 +01:00
Raul Ochoa
c4e6f3cd98 Merge pull request #407 from CartoDB/docs-1166-sql-query-outputs
clarification of response formats for sql api
2017-01-31 09:25:52 +01:00
csobier
11c8b87382 Fixed typo 2017-01-30 11:43:54 -05:00
csobier
50ca41c520 made a text change to see if PR will pass this time 2017-01-30 09:42:20 -05:00
csobier
64cbf08ef9 clarification of response formats for sql api 2017-01-26 16:46:32 -05:00
Mario de Frutos
b094d586a2 Fixed wrong contributing url 2017-01-25 10:49:29 +01:00
Raul Ochoa
29eaee82ed Stubs next version 2017-01-16 14:30:26 +01:00
Raul Ochoa
31c7586240 Release 1.43.1 2017-01-16 14:29:46 +01:00
Raul Ochoa
892b14b0f3 Merge pull request #406 from CartoDB/upgrade-psql
Upgrade cartodb-psql to 0.7.1
2017-01-16 14:28:17 +01:00
Raul Ochoa
13e1eab59f Upgrade cartodb-psql to 0.7.1
Closes #405.
2017-01-16 14:07:21 +01:00
Raul Ochoa
f0686d7cd4 Stubs next version 2017-01-16 10:38:43 +01:00
Raul Ochoa
87c00c1cf4 Release 1.43.0 2017-01-16 10:37:39 +01:00
Raul Ochoa
1047895bb6 Fix news and bump version 2017-01-16 10:35:36 +01:00
Raul Ochoa
1a4af0095c Merge pull request #399 from CartoDB/node-v6
[node-v6] Upgrade cartodb-psql to 0.7.0
2017-01-13 18:39:44 +01:00
Raul Ochoa
499f9a1240 Regenerate npm-shrinkwrap.json with npm 2.14.x 2017-01-13 18:20:29 +01:00
Raul Ochoa
d48a901533 Merge branch 'master' into node-v6 2017-01-12 19:49:56 +01:00
Raul Ochoa
b556fc537e Stubs next version 2017-01-12 12:40:32 +01:00