Skip to content

Commit ce75237

Browse files
author
Melvin D. Protacio
committed
request asynchronously to avoid performance penalty when sending impressions
1 parent e9250ed commit ce75237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Optimizely/Event/Dispatcher/DefaultEventDispatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ public function dispatchEvent(LogEvent $event)
5050
'connect_timeout' => DefaultEventDispatcher::TIMEOUT
5151
];
5252

53-
$this->httpClient->request($event->getHttpVerb(), $event->getUrl(), $options);
53+
$this->httpClient->requestAsync($event->getHttpVerb(), $event->getUrl(), $options);
5454
}
5555
}

0 commit comments

Comments
 (0)