remove usleep call in logger.c
parent
8718f26b2e
commit
c0778f54fb
3
HISTORY
3
HISTORY
|
|
@ -1,4 +1,7 @@
|
|||
|
||||
Version 1.11 2014-11-05
|
||||
* remove usleep call in logger.c
|
||||
|
||||
Version 1.10 2014-10-31
|
||||
* correct iovent macro define
|
||||
* must set timeout entry's dlink to NULL because NOT in time wheel
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
Name: libfastcommon
|
||||
Version: 1.0.10
|
||||
Version: 1.0.11
|
||||
Release: 1%{?dist}
|
||||
Summary: c common functions library extracted from my open source projects FastDFS
|
||||
License: GPL
|
||||
|
|
|
|||
|
|
@ -106,7 +106,6 @@ int log_init_ex(LogContext *pContext)
|
|||
|
||||
static int log_print_header(LogContext *pContext)
|
||||
{
|
||||
usleep(100 * 1000);
|
||||
pContext->current_size = lseek(pContext->log_fd, 0, SEEK_END);
|
||||
if (pContext->current_size < 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue