Skip to content

Commit

Permalink
heartbeat timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoch05 committed Sep 21, 2023
1 parent 5c91e66 commit 72ef0d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apollo/src/aggregation/aggregation.resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export class AggregationResolver {
await this.aggregationService.updateLnv20RelayInfo({
where: { id: id },
data: {
heartbeatTimestamp: Date.now() / 1000,
heartbeatTimestamp: Math.floor(Date.now() / 1000),
},
});
}
Expand Down

0 comments on commit 72ef0d4

Please sign in to comment.