Skip to content

Commit a479255

Browse files
fix: RunBatchSql use mutable request timeout (#2010)
1 parent fbaca7b commit a479255

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/taskmanager_client.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ ::openmldb::base::Status TaskManagerClient::RunBatchSql(const std::string& sql,
102102
}
103103

104104
bool ok = client_.SendRequest(&::openmldb::taskmanager::TaskManagerServer_Stub::RunBatchSql, &request,
105-
&response, FLAGS_request_timeout_ms, 1);
105+
&response, request_timeout_ms_, 1);
106106

107107
if (ok) {
108108
if (response.code() == 0) {

0 commit comments

Comments
 (0)