send rpc syscalls in the order in which they were created
This commit is contained in:
parent
21b929f11c
commit
1aac0166b9
@ -173,7 +173,7 @@ function(syscall, time, alerts, utils, rootScope, uri, authconf) {
|
|||||||
|
|
||||||
// get currently configured directURL
|
// get currently configured directURL
|
||||||
getDirectURL : function() { return currentConf.directURL },
|
getDirectURL : function() { return currentConf.directURL },
|
||||||
|
|
||||||
// syscall is done only once, delay is optional
|
// syscall is done only once, delay is optional
|
||||||
// and pass true to only dispatch it in the global timeout
|
// and pass true to only dispatch it in the global timeout
|
||||||
// which can be used to batch up once calls
|
// which can be used to batch up once calls
|
||||||
@ -181,7 +181,7 @@ function(syscall, time, alerts, utils, rootScope, uri, authconf) {
|
|||||||
cb = cb || angular.noop;
|
cb = cb || angular.noop;
|
||||||
params = params || [];
|
params = params || [];
|
||||||
|
|
||||||
subscriptions.unshift({
|
subscriptions.push({
|
||||||
once: true,
|
once: true,
|
||||||
name: 'aria2.' + name,
|
name: 'aria2.' + name,
|
||||||
params: params,
|
params: params,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user