summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2017-02-13 13:32:46 +0100
committerSander Vrijders <sander.vrijders@intec.ugent.be>2017-02-13 13:32:46 +0100
commit65f3f7673b23fbd5f6582bd529f2784fca9bbe1b (patch)
tree3a39b66972c45919ccd654bcb93e017ad0ef895f /src/ipcpd
parent5ea091f9cde6090c4829e78b7d2ac5a566ede8f1 (diff)
downloadouroboros-65f3f7673b23fbd5f6582bd529f2784fca9bbe1b.tar.gz
ouroboros-65f3f7673b23fbd5f6582bd529f2784fca9bbe1b.zip
ipcpd: Increase threadpool size
This increases the threadpool size for the IPCP main loop. Starvation was happening due to a lot of back and forth interactions between the normal IPCPd and the IRMd.
Diffstat (limited to 'src/ipcpd')
-rw-r--r--src/ipcpd/normal/dir.c2
-rw-r--r--src/ipcpd/normal/gam.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/ipcpd/normal/dir.c b/src/ipcpd/normal/dir.c
index 703f4e79..c67d303f 100644
--- a/src/ipcpd/normal/dir.c
+++ b/src/ipcpd/normal/dir.c
@@ -42,7 +42,7 @@ static void dir_path_reset(void) {
int dir_init(void)
{
- /*FIXME: set ribmgr dissemination here */
+ /* FIXME: set ribmgr dissemination here */
if (rib_add(RIB_ROOT, DIR_NAME))
return -1;
diff --git a/src/ipcpd/normal/gam.c b/src/ipcpd/normal/gam.c
index f80efe47..9ee55261 100644
--- a/src/ipcpd/normal/gam.c
+++ b/src/ipcpd/normal/gam.c
@@ -227,7 +227,6 @@ int gam_flow_alloc(struct gam * instance,
struct cacep_info * info;
int fd;
-
fd = flow_alloc(dst_name, instance->ae_name, NULL);
if (fd < 0) {
log_err("Failed to allocate flow to %s.", dst_name);