mirror of https://github.com/yandex/odyssey.git
odissey: set correct time type
This commit is contained in:
parent
6dacad6fcb
commit
08a6c30f16
|
@ -361,7 +361,8 @@ int od_backend_connect_cancel(od_server_t *server,
|
|||
return 0;
|
||||
}
|
||||
|
||||
int od_backend_ready_wait(od_server_t *server, char *context, int count, int time_ms)
|
||||
int od_backend_ready_wait(od_server_t *server, char *context, int count,
|
||||
uint32_t time_ms)
|
||||
{
|
||||
od_instance_t *instance = server->system->instance;
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ void od_backend_close(od_server_t*);
|
|||
int od_backend_terminate(od_server_t*);
|
||||
void od_backend_error(od_server_t*, char*, char*, int);
|
||||
int od_backend_ready(od_server_t*, char*, char*, int);
|
||||
int od_backend_ready_wait(od_server_t*, char*, int, int);
|
||||
int od_backend_ready_wait(od_server_t*, char*, int, uint32_t);
|
||||
int od_backend_query(od_server_t*, char*, char*, int);
|
||||
|
||||
#endif /* OD_BACKEND_H */
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "sources/logger.h"
|
||||
#include "sources/io.h"
|
||||
|
||||
int od_read(machine_io_t *io, shapito_stream_t *stream, int time_ms)
|
||||
int od_read(machine_io_t *io, shapito_stream_t *stream, uint32_t time_ms)
|
||||
{
|
||||
uint32_t request_start = shapito_stream_used(stream);
|
||||
uint32_t request_size = 0;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* Advanced PostgreSQL connection pooler.
|
||||
*/
|
||||
|
||||
int od_read(machine_io_t*, shapito_stream_t*, int);
|
||||
int od_read(machine_io_t*, shapito_stream_t*, uint32_t);
|
||||
int od_write(machine_io_t*, shapito_stream_t*);
|
||||
int od_getaddrname(struct addrinfo*, char*, int, int, int);
|
||||
int od_getpeername(machine_io_t*, char*, int, int, int);
|
||||
|
|
Loading…
Reference in New Issue