Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
ctiller committed Feb 18, 2025
1 parent d3ebbac commit c7a5e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cpp/interop/interop_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class TestServiceImpl : public TestService::Service {
Status CacheableUnaryCall(ServerContext* context,
const SimpleRequest* /*request*/,
SimpleResponse* response) override {
gpr_timespec ts = gpr_now(GPR_CLOCK_PRECISE);
gpr_timespec ts = gpr_now(GPR_CLOCK_MONOTONIC);
std::string timestamp = std::to_string(ts.tv_nsec);
response->mutable_payload()->set_body(timestamp.c_str(), timestamp.size());
context->AddInitialMetadata("cache-control", "max-age=60, public");
Expand Down

0 comments on commit c7a5e3a

Please sign in to comment.