Skip to content
Snippets Groups Projects
Commit f33b4814 authored by Maksim Kaitmazian's avatar Maksim Kaitmazian
Browse files

fix: remove sleep after dispatch_query

Sleep was used to wait for an operation to be commited.
After picodata/picodata/picodata!640 there is no need in it.
parent edd00db1
No related branches found
No related tags found
1 merge request!920pgproto module
......@@ -72,13 +72,6 @@ dispatch_query_wrapped(const char *query, size_t query_len)
port_c_create(&out);
struct box_function_ctx ctx = { &out };
int rc = dispatch_query(&ctx, args, args_end);
/**
* Wait for the commit.
* @todo: fix me
*/
fiber_sleep(0.01);
const char *response = NULL;
uint32_t response_size;
if (rc == 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment