mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-23 22:29:58 +00:00
Make 'neon.protocol_version = 2' the default (#7616)
Once all the computes in production have restarted, we can remove protocol version 1 altogether. See issue #6211.
This commit is contained in:
committed by
GitHub
parent
e6da7e29ed
commit
0115fe6cb2
@@ -49,7 +49,7 @@ char *neon_auth_token;
|
|||||||
int readahead_buffer_size = 128;
|
int readahead_buffer_size = 128;
|
||||||
int flush_every_n_requests = 8;
|
int flush_every_n_requests = 8;
|
||||||
|
|
||||||
int neon_protocol_version = 1;
|
int neon_protocol_version = 2;
|
||||||
|
|
||||||
static int n_reconnect_attempts = 0;
|
static int n_reconnect_attempts = 0;
|
||||||
static int max_reconnect_attempts = 60;
|
static int max_reconnect_attempts = 60;
|
||||||
@@ -860,7 +860,7 @@ pg_init_libpagestore(void)
|
|||||||
"Version of compute<->page server protocol",
|
"Version of compute<->page server protocol",
|
||||||
NULL,
|
NULL,
|
||||||
&neon_protocol_version,
|
&neon_protocol_version,
|
||||||
1, /* default to old protocol for now */
|
2, /* use protocol version 2 */
|
||||||
1, /* min */
|
1, /* min */
|
||||||
2, /* max */
|
2, /* max */
|
||||||
PGC_SU_BACKEND,
|
PGC_SU_BACKEND,
|
||||||
|
|||||||
Reference in New Issue
Block a user