Commit Graph

46 Commits

Author SHA1 Message Date
C Cirello
eed5422c59 Fix configuration load from environment variables (#123)
Fix configuration load from environment variables
Fixed #119
2016-10-05 19:10:21 +02:00
Seif Lotfy سيف لطفي
659d30dd9f Merge pull request #118 from iron-io/issue-114
Add context do models.MessageQueue interface
2016-10-05 01:05:34 +02:00
Carlos C
bb5824fef0 Code grooming 2016-10-05 00:51:50 +02:00
Carlos C
bc3fba088f Fix start problem with two IronFunction colliding configurations
By default, BoltDB will hang while waiting to acquire lock to the
datafile, thus the users might find themselves waiting for something
but not what. The added timeout aims inform use about what's
happening.

Also this renames MQADR to TASKSRV, refactor configuration to read
environment variables. RunAsyncRunner now fills the gaps when
parsing TASKSRV.

Fixes #119
2016-10-04 23:57:43 +02:00
Carlos C
b15ff5ce3a context -> golang.org/x/net/context 2016-10-04 19:01:57 +02:00
Carlos C
6fd13e6754 update tests with new mq interface 2016-10-04 18:45:59 +02:00
Seif Lotfy
d8801d5be7 Refactor async runner and its reference and add unit tests 2016-09-30 23:29:59 +02:00
Seif Lotfy
f5c4f5f7a9 Fix unit tests due to missing mock MQ 2016-09-30 23:04:56 +02:00
Seif Lotfy
f6f160cef9 Move async runner to runner file 2016-09-26 15:11:36 +02:00
Seif Lotfy
92df53b144 Add support for Async worker 2016-09-24 10:06:57 +02:00
Henrique Chehad
ba3f0b360b removed "reserved_memory" metric 2016-09-21 22:35:07 -03:00
Henrique Chehad
6b910d0b75 added wait time total and reserved memory metrics 2016-09-21 20:25:37 -03:00
Henrique Chehad
06294b4b77 updated worker repository ref 2016-09-19 20:41:35 -03:00
Pedro Nasser
b867b20cfd fix sleep time 2016-09-17 12:11:04 -03:00
Pedro Nasser
853c8b4534 prevent zero memory requirement 2016-09-13 23:44:16 -03:00
Pedro Nasser
688a6a0718 invalid method 2016-09-13 23:40:30 -03:00
Pedro Nasser
89a4092dc1 merge with master 2016-09-13 23:25:06 -03:00
Pedro Nasser
da1746dc97 improvements 2016-09-13 23:22:00 -03:00
Pedro Nasser
e6d0079051 add IGNORE_MEMORY 2016-09-12 14:44:11 -03:00
Pedro Nasser
a98b7e25d0 metric logger 2016-09-12 11:46:21 -03:00
Pedro Nasser
81a3394317 add queue.full and timeout count 2016-09-09 01:03:27 -03:00
Pedro Nasser
5d50721db1 add initial queue to runner 2016-09-09 00:54:00 -03:00
Henrique Chehad
5697915676 removed repeated code 2016-09-06 20:23:33 -03:00
Henrique Chehad
11d619b38e fix typo 2016-09-06 16:57:38 -03:00
Henrique Chehad
49afdf5f35 created metrics func 2016-09-06 16:41:11 -03:00
Travis Reeder
d2afba465a Merge pull request #80 from iron-io/stdin
Streams stderr from user functions and outputs a standard format for …
2016-08-30 13:57:15 -07:00
Henrique Chehad
615b421dfa migrated EnsureUsableImage to EnsureImageExists 2016-08-30 11:08:54 -03:00
Travis Reeder
b5e0887e37 Added user_log=true to user log lines. 2016-08-29 23:53:48 -07:00
Travis Reeder
45f5354d8b Updated comment. 2016-08-29 23:00:36 -07:00
Travis Reeder
f7d4fed570 Streams stderr from user functions and outputs a standard format for parsing. See #76. 2016-08-29 22:59:16 -07:00
Pedro Nasser
6a2e9b29be update titan, other deps and minor changes 2016-08-24 16:11:21 -03:00
Henrique Chehad
148d52c890 updates after runner factored 2016-08-22 19:17:58 -03:00
Henrique Chehad
bad6bb0c5d added WriteStat of drivers.ContainerTask in runner task 2016-08-22 19:17:18 -03:00
Pedro Nasser
8b0d0f1e13 refactor runner 2016-08-21 19:40:08 -03:00
Evan Shaw
6a369eb23a Update deps; add container label for logs 2016-08-16 15:19:16 +12:00
Pedro Nasser
06c3bb3949 added env REQUEST_URL 2016-08-15 23:37:30 -03:00
Travis Reeder
40e1ebd434 Updates to fix against Titan changes and what not. 2016-08-07 14:10:31 -04:00
Pedro Nasser
214c33e6f0 fix uuid & fix tests 2016-08-05 19:51:07 -03:00
Pedro Nasser
4fa9380ecc added request uid 2016-08-05 19:04:17 -03:00
Pedro Nasser
7b63fd5fe1 added runner routes 2016-07-31 17:28:25 -03:00
Pedro Nasser
905f085c23 clean unnecessary code 2016-07-31 17:28:17 -03:00
Pedro Nasser
d7f1ea037b multiple ajustments
- renamed WrapperJob (not exported anymore)
- removed need for temp log file
- not using titan models
- using gin.Context as runner context
2016-07-28 17:45:57 -03:00
Pedro Nasser
a92dffb3fc changing titan from API to interface 2016-07-28 01:02:22 -03:00
Pedro Nasser
14cc57fd9c refactor runner using titan 2016-07-24 17:46:08 -03:00
Pedro Nasser
5a13e2c0cc improv api, datastore, postgres, runner 2016-07-21 21:18:02 -03:00
Pedro Nasser
66fa3d4035 refactoring API and added dbs: postgres, bolt 2016-07-21 16:04:58 -03:00