Skip to content

Commit

Permalink
Allow the vertex ID in serving request to be int64 (#279)
Browse files Browse the repository at this point in the history
As titled.
  • Loading branch information
LiSu committed Sep 18, 2023
1 parent 9682c9b commit fec8b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynamic_graph_service/src/service/event_handler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class RunQueryHandler : public seastar::httpd::handler_base {
assert(vid_it != req->query_parameters.end());

QueryId qid = std::stoi(qid_it->second);
VertexId vid = std::stoi(vid_it->second);
VertexId vid = std::stoll(vid_it->second);
start_time_ = CurrentTimeInMs();
auto dst_shard_id = GetDestShardId();
return actor_refs_[dst_shard_id].RunQuery(RunQueryRequest(qid, vid)).then(
Expand Down

0 comments on commit fec8b5d

Please sign in to comment.