You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-03 00:26:59 +02:00
Construct Wait object in milliseconds instead of fractional seconds.
The Wait object accepted a double in the constructor for wait time but used TimeMSec internally. This was done for compatibility with the Perl code. Instead, use TimeMSec in the Wait constructor and make changes as needed to calling code. Note that Perl still uses a double for its Wait object so translation is needed in some places. There are no plans to update the Perl code as it will become obsolete.
This commit is contained in:
@ -165,6 +165,11 @@ size_t strzToLog(const char *string, char *buffer, size_t bufferSize);
|
||||
#define FUNCTION_DEBUG_MODE_FORMAT(value, buffer, bufferSize) \
|
||||
cvtModeToZ(value, buffer, bufferSize)
|
||||
|
||||
#define FUNCTION_DEBUG_TIMEMSEC_TYPE \
|
||||
TimeMSec
|
||||
#define FUNCTION_DEBUG_TIMEMSEC_FORMAT(value, buffer, bufferSize) \
|
||||
cvtUInt64ToZ(value, buffer, bufferSize)
|
||||
|
||||
#define FUNCTION_DEBUG_UCHARP_TYPE \
|
||||
unsigned char *
|
||||
#define FUNCTION_DEBUG_UCHARP_FORMAT(value, buffer, bufferSize) \
|
||||
|
Reference in New Issue
Block a user