Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
N
node-bigstream
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bs
node-bigstream
Commits
68d7fb0b
Commit
68d7fb0b
authored
Apr 10, 2017
by
project
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
6571ec48
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
7 deletions
+18
-7
main.js
jobworker/main.js
+0
-7
worker.js
jobworker/worker.js
+18
-0
No files found.
jobworker/main.js
deleted
100644 → 0
View file @
6571ec48
var
ctx
=
require
(
'../context'
);
var
JW
=
function
JobWorker
(
cfg
)
{
}
jobworker/worker.js
0 → 100644
View file @
68d7fb0b
var
ctx
=
require
(
'../context'
);
var
cfg
=
ctx
.
config
;
var
QueueReceiver
=
ctx
.
getLib
(
'lib/amqp/queuereceiver'
);
module
.
exports
.
create
=
function
(
prm
)
{
var
jw
=
new
JW
(
prm
);
return
jw
;
}
var
JW
=
function
JobWorker
(
prm
)
{
var
param
=
prm
||
{};
this
.
config
=
param
.
config
||
cfg
;
this
.
instance_name
=
param
.
name
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment