mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
Attempt to improve mbox limits
This commit is contained in:
parent
00a86583a9
commit
2e554833db
|
@ -33,6 +33,12 @@ pub struct EventLog {}
|
||||||
|
|
||||||
impl Actor for EventLog {
|
impl Actor for EventLog {
|
||||||
type Context = SyncContext<Self>;
|
type Context = SyncContext<Self>;
|
||||||
|
|
||||||
|
/*
|
||||||
|
fn started(&mut self, ctx: &mut Self::Context) {
|
||||||
|
ctx.set_mailbox_capacity(1 << 31);
|
||||||
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
// What messages can we be sent. Basically this is all the possible
|
// What messages can we be sent. Basically this is all the possible
|
||||||
|
|
|
@ -183,9 +183,5 @@ fn main() {
|
||||||
.start();
|
.start();
|
||||||
|
|
||||||
log_event!(log_addr, "Starting rsidm on http://127.0.0.1:8080");
|
log_event!(log_addr, "Starting rsidm on http://127.0.0.1:8080");
|
||||||
// curl --header "Content-Type: application/json" --request POST --data '{"name":"xyz","number":3}' http://127.0.0.1:8080/manual
|
|
||||||
|
|
||||||
// all the needed routes / views
|
|
||||||
|
|
||||||
let _ = sys.run();
|
let _ = sys.run();
|
||||||
}
|
}
|
||||||
|
|
|
@ -94,6 +94,12 @@ impl QueryServer {
|
||||||
|
|
||||||
impl Actor for QueryServer {
|
impl Actor for QueryServer {
|
||||||
type Context = SyncContext<Self>;
|
type Context = SyncContext<Self>;
|
||||||
|
|
||||||
|
/*
|
||||||
|
fn started(&mut self, ctx: &mut Self::Context) {
|
||||||
|
ctx.set_mailbox_capacity(1 << 31);
|
||||||
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
// The server only recieves "Event" structures, which
|
// The server only recieves "Event" structures, which
|
||||||
|
|
Loading…
Reference in a new issue