mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: webhook sender uses single thread executor
parent
7085bb899b
commit
a4fcf90745
|
@ -63,7 +63,7 @@ public class HttpWebhookSender {
|
|||
private List<Header> customHeaders;
|
||||
private List<CDREventName> events;
|
||||
|
||||
private ExecutorService executor = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors());
|
||||
private ExecutorService executor = Executors.newSingleThreadExecutor();
|
||||
|
||||
public HttpWebhookSender(String httpEndpoint, List<Header> headers, List<CDREventName> events) {
|
||||
this.httpEndpoint = httpEndpoint;
|
||||
|
|
Loading…
Reference in New Issue