File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -13642,7 +13642,7 @@ bool conn_listening(conn *c)
1364213642 static const int REJECTED_CONN_CHK_INTERVAL = 60; /*check interval*/
1364313643 rel_time_t elapsed = get_current_time() - rejected_conn_log_stime;
1364413644 rejected_conn_log_count++;
13645- if (elapsed > REJECTED_CONN_CHK_INTERVAL){
13645+ if (elapsed > REJECTED_CONN_CHK_INTERVAL) {
1364613646 mc_logger->log(EXTENSION_LOG_INFO, c,
1364713647 "Too many open connections (maxconns) "
1364813648 "(Total %u logs occured during %u secs)\n",
Original file line number Diff line number Diff line change 33
44#include "memcached.h"
55
6- static void display (const char * name , size_t size ) {
6+ static void display (const char * name , size_t size )
7+ {
78 printf ("%s\t%d\n" , name , (int )size );
89}
910
10- int main (int argc , char * * argv ) {
11-
11+ int main (int argc , char * * argv )
12+ {
1213 display ("Thread stats" , sizeof (struct thread_stats ));
1314 display ("Global stats" , sizeof (struct mc_stats ));
1415 display ("Settings" , sizeof (struct settings ));
15- display ("Libevent thread" ,
16- sizeof (LIBEVENT_THREAD ));
16+ display ("Libevent thread" , sizeof (LIBEVENT_THREAD ));
1717 display ("Connection" , sizeof (conn ));
1818
1919 printf ("----------------------------------------\n" );
You can’t perform that action at this time.
0 commit comments