Commit Graph

338 Commits

Author SHA1 Message Date
C Cirello
3ca137a01c Upgrade to Go 1.7 (#128)
* Upgrade to stdlib context package
* Modernized syntax
2016-10-06 20:10:00 +02:00
Travis Reeder
e90a109ed5 Updated README. 2016-10-06 10:45:33 -07:00
Travis Reeder
8390c5dc8e Updated hello to use stdin. 2016-10-06 10:44:27 -07:00
C Cirello
c6f81ff921 Unify env variables naming into constants (#127) 2016-10-06 02:01:11 +02:00
C Cirello
aa12f3c724 Add graceful shutdown support for async runners (#125) 2016-10-06 00:32:56 +02:00
Carlos C
1e62c2a403 Remove log.Fatal message preventing application start 2016-10-05 22:59:03 +02:00
Seif Lotfy سيف لطفي
fbcec6bf40 Depend on iron-io/runner instead of iron-io/worker (#124) 2016-10-05 20:42:12 +02:00
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
Seif Lotfy سيف لطفي
c6189dd422 Merge pull request #121 from iron-io/cascaded-functions
Fix start problem with two IronFunction colliding configurations
2016-10-05 00:59:12 +02:00
Carlos C
bb5824fef0 Code grooming 2016-10-05 00:51:50 +02:00
Carlos C
642cda40bc Code grooming
Upper case letter when starting the sentence
2016-10-05 00:48:36 +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
Carlos C
0ecb6ca5cc Add context do models.MessageQueue interface 2016-10-03 23:49:08 +02:00
Seif Lotfy سيف لطفي
3db24e2745 Merge pull request #117 from iron-io/minor-start-refactor
Reorganize daemon startup
2016-10-03 23:17:22 +02:00
Carlos C
39a582e2dd Place srv.Run() last in the start up process
Smaller and simpler code, runner.RunAsyncRunner
2016-10-03 21:27:57 +02:00
Seif Lotfy سيف لطفي
5b36ed0833 Merge pull request #110 from iron-io/async
Async
2016-10-02 23:17:58 +02:00
Seif Lotfy
a8535120da async calls return the call_id/task_id 2016-10-02 22:38:51 +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
067100bf9c Move hello-async.sh and hello-sync.sh to examples directory 2016-09-30 23:29:59 +02:00
Travis Reeder
adf1b3105e Merge pull request #106 from seiflotfy/fixTests
Fix unit tests due to missing Mock MQ
2016-09-30 14:20:21 -07:00
Seif Lotfy
f5c4f5f7a9 Fix unit tests due to missing mock MQ 2016-09-30 23:04:56 +02:00
Travis Reeder
c452d845fe Merge pull request #102 from iron-io/route-params-doc
Route params documentation
2016-09-28 11:18:08 -07:00
Travis Reeder
1b172c8131 Merge pull request #97 from seiflotfy/async
WIP: Initial work on async functions
2016-09-28 11:17:39 -07:00
Seif Lotfy
f6f160cef9 Move async runner to runner file 2016-09-26 15:11:36 +02:00
Seif Lotfy
54f66c7b09 update glide 2016-09-26 12:59:18 +02:00
Seif Lotfy
92df53b144 Add support for Async worker 2016-09-24 10:06:57 +02:00
Seif Lotfy
b623fc27e4 Initial work on async functions 2016-09-24 10:06:51 +02:00
Travis Reeder
bf6c4b0a4a Merge pull request #103 from iron-io/new-metrics
metrics added: wait time total and reserved memory
2016-09-23 11:16:24 -07:00
Seif Lotfy سيف لطفي
481ea81282 Merge pull request #98 from iron-io/caddy-lb-example
Caddy load balancer example
2016-09-23 14:12:39 -04: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
76e617ee04 fix irregular header and texts 2016-09-20 22:05:35 -03:00
Pedro Nasser
ef53279f9b Merge pull request #101 from iron-io/update-worker-repository
updated worker repository references
2016-09-20 22:00:01 -03:00
Pedro Nasser
b061f8db41 update glide.lock 2016-09-20 21:50:46 -03:00
Pedro Nasser
51fcdd2327 small fix postgres insert query 2016-09-20 19:21:30 -03:00
Henrique Chehad
fdb199485d separator in readme 2016-09-20 15:35:37 -03:00
Henrique Chehad
802b96166d route params documentation 2016-09-20 15:29:48 -03:00
Henrique Chehad
06294b4b77 updated worker repository ref 2016-09-19 20:41:35 -03:00
Travis Reeder
a280644ba3 Merge pull request #99 from iron-io/server-port-comment
comment about default/PORT env var
2016-09-19 14:03:00 -07:00
Henrique Chehad
f4e8065cd9 server port comment about default/PORT env var 2016-09-19 16:58:24 -03:00
Pedro Nasser
f95e0ee3b8 Merge pull request #93 from pedronasser/runner-queue
Runner queue
2016-09-17 12:20:26 -03:00
Pedro Nasser
b867b20cfd fix sleep time 2016-09-17 12:11:04 -03:00
Henrique Chehad
abe362603d fix LB_HOST03 typo 2016-09-16 20:40:27 -03:00
Henrique Chehad
dd5f118a0d created caddy load balancer example 2016-09-16 20:37:22 -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
28fb87e5c7 remove examples from test 2016-09-13 23:36:11 -03:00