Skip to content

Commit

Permalink
fix(pipelines): decrease polling interval while in queued + limit hei… (
Browse files Browse the repository at this point in the history
#247)

fix(pipelines): decrease polling interval while in queued + limit height of run dialog + scroll
  • Loading branch information
qgerome authored Mar 29, 2023
1 parent ebcc720 commit 0c7ea34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const WorkspacePipelineRunPage: NextPageWithLayout = (props: Props) => {
const refreshInterval = useMemo(() => {
switch (data?.pipelineRun?.status) {
case PipelineRunStatus.Queued:
return 10 * 1000;
return 1 * 1000;
case PipelineRunStatus.Running:
return 3 * 1000;
default:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const RunPipelineDialog = (props: RunPipelineDialogProps) => {
>
<form onSubmit={form.handleSubmit}>
<Dialog.Title>{t("Run pipeline")}</Dialog.Title>
<Dialog.Content>
<Dialog.Content className="max-h-[450px] overflow-auto">
<Field name="version" label={t("Version")} required className="mb-6">
<PipelineVersionPicker
required
Expand Down

0 comments on commit 0c7ea34

Please sign in to comment.