Skip to content

Commit

Permalink
fix: clickhouse queries
Browse files Browse the repository at this point in the history
  • Loading branch information
chronark committed Nov 11, 2024
1 parent 049c9a9 commit 740f8dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export const VerificationTable = ({ verifications }: Props) => {
<TableHeader>
<TableRow>
<TableHead className="font-mono text-xs">Time</TableHead>
<TableHead className="font-mono text-xs">Region</TableHead>
<TableHead className="font-mono text-xs p-0">Result</TableHead>
</TableRow>
</TableHeader>
Expand Down Expand Up @@ -78,7 +77,6 @@ export const VerificationTable = ({ verifications }: Props) => {
>
{format(verification.time, "MMM dd HH:mm:ss.SS")}
</TableCell>
<TableCell className={CELL_CLASS}>{verification.region}</TableCell>
<TableCell
className={cn(CELL_CLASS, "p-2 pl-0", {
"rounded-tr-md": isStartOfColoredBlock,
Expand Down
2 changes: 1 addition & 1 deletion internal/clickhouse/src/latest_verifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function getLatestVerifications(ch: Querier) {
AND key_space_id = {keySpaceId: String}
AND key_id = {keyId: String}
ORDER BY time DESC
LIMIT 1`,
LIMIT 50`,
params,
schema: z.object({
time: z.number(),
Expand Down

0 comments on commit 740f8dd

Please sign in to comment.