Updated service
This commit is contained in:
1 parent
ae03b515a0
commit
c1aa9a2068
1 file changed
+4
-1
@@ -10,6 +10,7 @@
|
||||
#include "server/sparkd/orderman2/actors/MDSource.h"
|
||||
#include "server/sparkd/orderman2/actors/OrderStore.h"
|
||||
#include "server/sparkd/orderman2/actors/FillStore.h"
|
||||
#include "server/sparkd/orderman2/actors/AsyncFactory.h"
|
||||
|
||||
namespace bts {
|
||||
namespace orderman2 {
|
||||
@@ -59,7 +60,9 @@ OrderServiceServer2::OrderServiceServer2 (bts::api::ServiceContext& ctx) :
|
||||
});
|
||||
|
||||
me->slow_thread = std::thread([this] () {
|
||||
me->slow_exe.spawn<OrderStore>(GatewayName(get_connection().name()));
|
||||
auto gw = GatewayName(get_connection().name());
|
||||
me->slow_exe.spawn<AsyncFactory>(gw);
|
||||
me->slow_exe.spawn<OrderStore>(gw);
|
||||
me->slow_exe.spawn<FillStore>();
|
||||
me->slow_exe.spawn<SecuritySrc> ();
|
||||
me->slow_exe.spawn<mercury::Poller> ();
|
||||
|
||||
Reference in new issue
Block a user