We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d84bb57 commit 35a1c1fCopy full SHA for 35a1c1f
src/metric.cc
@@ -167,6 +167,7 @@ Metric::SendCreateMetricRequest()
167
void
168
Metric::SendIncrementRequest(const double& value)
169
{
170
+ py::gil_scoped_release release;
171
try {
172
CheckIfCleared();
173
std::unique_ptr<Stub>& stub = Stub::GetOrCreateInstance();
@@ -204,6 +205,7 @@ Metric::SendSetValueRequest(const double& value)
204
205
206
Metric::SendObserveRequest(const double& value)
207
208
209
210
211
0 commit comments