mirror of
https://github.com/wg/wrk
synced 2026-05-26 07:59:49 +08:00
generate version from git describe
This commit is contained in:
@@ -16,13 +16,14 @@
|
||||
#include "ae.h"
|
||||
#include "http_parser.h"
|
||||
|
||||
#define VERSION "4.0.0"
|
||||
#define RECVBUF 8192
|
||||
|
||||
#define MAX_THREAD_RATE_S 10000000
|
||||
#define SOCKET_TIMEOUT_MS 2000
|
||||
#define RECORD_INTERVAL_MS 100
|
||||
|
||||
extern const char *VERSION;
|
||||
|
||||
typedef struct {
|
||||
pthread_t thread;
|
||||
aeEventLoop *loop;
|
||||
|
||||
Reference in New Issue
Block a user