Skip to content

Commit b1d659f

Browse files
committed
use constexpr int instead of const int32_t
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
1 parent 1cf8e04 commit b1d659f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ray/rpc/authentication/authentication_token_loader.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ constexpr const char *kNoTokenErrorMessage =
4444
"or store the token in any file and set RAY_AUTH_TOKEN_PATH to point to it, "
4545
"or set the RAY_AUTH_TOKEN environment variable.";
4646

47-
const int32_t kRaySATokenTTLSeconds = 300;
47+
constexpr int kRaySATokenTTLSeconds = 300;
4848

4949
AuthenticationTokenLoader &AuthenticationTokenLoader::instance() {
5050
static AuthenticationTokenLoader instance;

0 commit comments

Comments
 (0)