summaryrefslogtreecommitdiff
path: root/examples/server
diff options
context:
space:
mode:
Diffstat (limited to 'examples/server')
-rw-r--r--examples/server/server.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/server/server.cpp b/examples/server/server.cpp
index 7978f979..6af5cb96 100644
--- a/examples/server/server.cpp
+++ b/examples/server/server.cpp
@@ -1981,8 +1981,7 @@ struct server_context {
slot.state = SLOT_STATE_PROCESSING;
slot.command = SLOT_COMMAND_NONE;
slot.release();
- slot.print_timings();
- send_final_response(slot);
+ send_error(slot, "input is too large to process. increase the physical batch size", ERROR_TYPE_SERVER);
continue;
}
} else {