remove usleep call in logger.c

pull/2/head
yuqing 2014-11-05 18:30:47 +08:00
parent 8718f26b2e
commit c0778f54fb
3 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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)
{