File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
tensorflow_serving/model_servers Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,9 @@ limitations under the License.
1717
1818#include < unistd.h>
1919
20+ #include < cstdint>
2021#include < iostream>
22+ #include < limits>
2123#include < memory>
2224#include < string>
2325#include < utility>
@@ -392,7 +394,7 @@ absl::Status Server::BuildAndStart(const Options& server_options) {
392394 builder.RegisterService (profiler_service_.get ());
393395 LOG (INFO) << " Profiler service is enabled" ;
394396 }
395- builder.SetMaxMessageSize (tensorflow::kint32max );
397+ builder.SetMaxMessageSize (std::numeric_limits< int32_t >:: max () );
396398 const std::vector<GrpcChannelArgument> channel_arguments =
397399 parseGrpcChannelArgs (server_options.grpc_channel_arguments );
398400 for (const GrpcChannelArgument& channel_argument : channel_arguments) {
You can’t perform that action at this time.
0 commit comments