-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
I'll need to find some time to figure out the nicest approach to solve this, as it's specific-ish to your kind of setup (first person to complain of this issue). I think your setup valid, so we should support that. Just so you can try it out, I'll cut you a branch and let you set your own Vert.x client options. Consider the configuration keys to be entirely placeholder for now, please. I'm sure you can compile it yourself. It's a rough hack so you can test it immediately. https://github.com/msavy/apiman/tree/allow-custom-client-options In short you can change any Vert.x client option you want. "connector-factory": {
"class": "io.apiman.gateway.platforms.vertx3.connector.ConnectorFactory",
"config": {
// Your usual config here
"httpClient": {
"maxPoolSize": 100
}
}
}
} Can discuss the other options later (new client each time, see if we can detect it's getting near pool size limit, etc). |
Beta Was this translation helpful? Give feedback.
I'll need to find some time to figure out the nicest approach to solve this, as it's specific-ish to your kind of setup (first person to complain of this issue). I think your setup valid, so we should support that.
Just so you can try it out, I'll cut you a branch and let you set your own Vert.x client options. Consider the configuration keys to be entirely placeholder for now, please. I'm sure you can compile it yourself.
It's a rough hack so you can test it immediately.
https://github.com/msavy/apiman/tree/allow-custom-client-options
In short you can change any Vert.x client option you want.