Release redbean 2.0.1

This commit is contained in:
Justine Tunney 2022-06-14 20:21:07 -07:00
parent 8b13e1acc8
commit 42b34c26f8
7 changed files with 67 additions and 101 deletions

View file

@ -137,7 +137,7 @@ STATIC_YOINK("zip_uri_support");
#define REDBEAN "redbean"
#endif
#define VERSION 0x020000
#define VERSION 0x020001
#define HEARTBEAT 5000 /*ms*/
#define HASH_LOAD_FACTOR /* 1. / */ 4
#define MONITOR_MICROS 150000
@ -918,8 +918,8 @@ static void ProgramCache(long x) {
}
static void SetDefaults(void) {
ProgramBrand(
gc(xasprintf("%s/%hhd.%hhd", REDBEAN, VERSION >> 020, VERSION >> 010)));
ProgramBrand(gc(xasprintf("%s/%hhd.%hhd.%hhd", REDBEAN, VERSION >> 020,
VERSION >> 010, VERSION >> 000)));
__log_level = kLogInfo;
maxpayloadsize = 64 * 1024;
ProgramCache(-1);