mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(cloudcmd) edward: size, socket -> socket, {size}
This commit is contained in:
parent
8c4577ea93
commit
7d2e04db2f
1 changed files with 5 additions and 2 deletions
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
module.exports.listen = function(socket) {
|
||||
var size = cloudfunc.MAX_SIZE;
|
||||
|
||||
|
||||
Util.check(arguments, ['socket']);
|
||||
|
||||
webconsole({
|
||||
|
|
@ -61,7 +61,10 @@
|
|||
|
||||
terminal(socket);
|
||||
config.socket(socket);
|
||||
edward.listen(size, socket);
|
||||
|
||||
edward.listen(socket, {
|
||||
size: size
|
||||
});
|
||||
};
|
||||
|
||||
function cloudcmd() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue