(ns ^{:deprecated "0.50.0"} metabase.query-processor.context
  (:require [metabase.query-processor.pipeline :as qp.pipeline]))

DEPRECATED: use [[metabase.query-processor.pipeline/canceled-chan]] directly instead.

(defn canceled-chan
  {:deprecated "0.50.0"}
  [_context]
  qp.pipeline/*canceled-chan*)

DEPRECATED: use [[metabase.query-processor.pipeline/query-timeout-ms]] directly instead.

(defn timeout
  {:deprecated "0.50.0"}
  [_context]
  qp.pipeline/*query-timeout-ms*)