diff --git a/server/wsproxy/GCListener.cc b/server/wsproxy/GCListener.cc index 2f530a6..4daaf25 100644 --- a/server/wsproxy/GCListener.cc +++ b/server/wsproxy/GCListener.cc @@ -119,7 +119,7 @@ static void GSListeneron_error(a8::TcpListener*, int type, int errorid) void GCListener::Init() { tcp_listener_ = std::make_shared(); - tcp_listener_->RegisterSessionClass(); + tcp_listener_->RegisterSessionClass(1024 * 64 * 2); tcp_listener_->on_error = GSListeneron_error; tcp_listener_->bind_address = "0.0.0.0"; diff --git a/server/wsproxy/app.cc b/server/wsproxy/app.cc index e7f22f3..e9ea3a7 100644 --- a/server/wsproxy/app.cc +++ b/server/wsproxy/app.cc @@ -141,7 +141,7 @@ void App::UnInit() f8::App::Instance()->GetPid()}); } -void App::Update() +void App::Update(int delta_time) { QuickExecute(); SlowerExecute(); diff --git a/server/wsproxy/app.h b/server/wsproxy/app.h index d8fe181..15f8782 100644 --- a/server/wsproxy/app.h +++ b/server/wsproxy/app.h @@ -22,7 +22,7 @@ public: virtual const std::string GetPkgName() override; virtual void Init() override; virtual void UnInit() override; - virtual void Update() override; + virtual void Update(int delta_time) override; virtual bool HasTask() override; virtual void DispatchSocketMsg(f8::MsgHdr* hdr) override; diff --git a/third_party/a8 b/third_party/a8 index 56f576e..380074e 160000 --- a/third_party/a8 +++ b/third_party/a8 @@ -1 +1 @@ -Subproject commit 56f576e60d471f0390d12172cf2aa499c0772e93 +Subproject commit 380074e2f78043a71b134c420af20b00127b1967 diff --git a/third_party/f8 b/third_party/f8 index 39cf53e..b172c94 160000 --- a/third_party/f8 +++ b/third_party/f8 @@ -1 +1 @@ -Subproject commit 39cf53ed693b0c6e6d9119c38b894013ac9716e6 +Subproject commit b172c94f398c782d53a3147250c71e3c0eafe890