Skip to content

Commit

Permalink
use DurationInput for Model makeDataLoaders window (#3489)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart authored Aug 20, 2024
1 parent 8dd3959 commit f2a851f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/sql/src/Model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import * as ParseResult from "@effect/schema/ParseResult"
import * as Schema from "@effect/schema/Schema"
import type { Brand } from "effect/Brand"
import * as DateTime from "effect/DateTime"
import type { DurationInput } from "effect/Duration"
import * as Effect from "effect/Effect"
import * as Option from "effect/Option"
import type { Scope } from "effect/Scope"
Expand Down Expand Up @@ -715,7 +716,7 @@ export const makeDataLoaders = <
readonly tableName: string
readonly spanPrefix: string
readonly idColumn: Id
readonly window: number
readonly window: DurationInput
readonly maxBatchSize?: number | undefined
}
): Effect.Effect<
Expand Down

0 comments on commit f2a851f

Please # to comment.