Commit Graph

1935 Commits

Author SHA1 Message Date
Daniel García Aubert
761ffd0558 Allow es6 syntax 2017-08-04 17:11:45 +02:00
Daniel García Aubert
8b6ec95108 Add test to check timeout error while exporting 2017-08-03 19:15:24 +02:00
Daniel García Aubert
fb477260ec Respond with 429 and proper message when database fires a timeout error 2017-08-03 17:19:08 +02:00
csobier
cff94365ed Merge pull request #425 from CartoDB/docs-1219-api-versions
removed incorrect info from versions page of docs
2017-08-02 12:28:30 -04:00
csobier
20ec67c14d sql specific url 2017-08-02 12:19:50 -04:00
csobier
7884e53add removed incorrect info from versions page of docs 2017-08-02 11:01:02 -04:00
Rafa de la Torre
38b1dba758 Stub next version 2017-07-03 11:24:23 +02:00
Rafa de la Torre
2530e4e3b6 Release version 1.46.1 2017-07-03 11:17:21 +02:00
Rafa de la Torre
07890ec608 Change tableCache.get for tableCache.peek #244
This will make it consider age of the key when it was initially set,
instead of renewing it with the time of the last access.
2017-07-03 11:13:21 +02:00
Rafa de la Torre
d2f1884999 Stub next version 2017-06-27 18:06:43 +02:00
Rafa de la Torre
c3c754231a Release Release 1.46.0 2017-06-27 17:58:43 +02:00
Rafa de la Torre
1db935a24b Merge pull request #423 from CartoDB/422-disable-query-lru-cache
422 disable query lru cache
2017-06-27 17:40:33 +02:00
Daniel García Aubert
bf76331bf8 Stub next version 2017-06-27 17:25:15 +02:00
Daniel García Aubert
7521ca2f48 Release 1.45.1 2017-06-27 17:16:03 +02:00
Daniel
99a849d09e Merge pull request #420 from CartoDB/support-special-float-values
Support special float values (NaN and Infinity)
2017-06-27 16:56:20 +02:00
Rafa de la Torre
ae304999c7 Add a few integration tests #422 2017-06-27 16:38:07 +02:00
Rafa de la Torre
2d9a5e9655 Move cyclomatic complexity to the factory #422 2017-06-27 16:05:05 +02:00
Rafa de la Torre
c8e42f561d Reduce cyclomatic complexity (jshint 2/2) #422 2017-06-27 15:35:51 +02:00
Rafa de la Torre
34ccfc10df Please jshint (1/2) #422 2017-06-27 13:26:14 +02:00
Rafa de la Torre
8c2e5f74df Add tableCacheEnabled setting to sample config #422 2017-06-27 13:14:13 +02:00
Rafa de la Torre
23cd744eda Skip tests that need of a real tableCache #422
Skip those tests when the tableCache is disabled, but run them
otherwise.
2017-06-27 12:58:27 +02:00
Rafa de la Torre
bf478cabb2 Fix initialization of NoCache #422 2017-06-27 12:44:11 +02:00
Rafa de la Torre
bc71889f93 First attempt at removing tableCache #422 2017-06-27 12:10:24 +02:00
Daniel García Aubert
00cbfca72e Improve assertion 2017-06-09 16:56:44 +02:00
Daniel García Aubert
aa66000848 Going green: use replacer parameter in JSON.stringify method to not cast special number values to null 2017-06-08 12:42:37 +02:00
Daniel García Aubert
1977f4a782 Going red: special float values parsed to null 2017-06-08 12:31:18 +02:00
Raul Ochoa
14846b254e Document gc_interval configuration param 2017-04-24 18:28:10 +02:00
Mario de Frutos
f77df67eba Stubs next version 2017-04-18 14:46:41 +02:00
Mario de Frutos
61716d3e3a Release 1.45.0 2017-04-18 14:43:43 +02:00
Mario de Frutos
582d684591 Merge pull request #418 from CartoDB/413-configurable-zip-command
Make zip command path configurable
2017-04-18 13:24:45 +02:00
Mario de Frutos
3a99020632 Added regexp for the test to matches both 0.10 and 6.X node version 2017-04-18 12:15:47 +02:00
Mario de Frutos
5e9fcc5c8f Added test to check error when zip command file is not present 2017-04-18 12:15:47 +02:00
Mario de Frutos
da42daa536 Improved error message for zip spawn command 2017-04-18 12:15:47 +02:00
Daniel García Aubert
e4eeb9e1f6 Clean commented code 2017-04-18 12:15:47 +02:00
Daniel García Aubert
e0f9209017 Attach error handler while spawning zip command 2017-04-18 12:15:47 +02:00
Daniel García Aubert
884d3aea0a Dont call 'next' callback twice, include error message if zip don't exit normally 2017-04-18 12:15:47 +02:00
Daniel García Aubert
4b98b7056a Make zip command path configurable 2017-04-18 12:15:47 +02:00
Mario de Frutos
9a2e832c83 Merge pull request #419 from CartoDB/fix-ogr-spawn
Add error callback to ogr command while spawning
2017-04-18 12:15:11 +02:00
Daniel García Aubert
6dba06130b Retur a proper error message when ogr2ogr command fails 2017-04-18 11:40:37 +02:00
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