Skip to content

Commit

Permalink
OY-5028 Disabloidaan pdf-preview-generointi tilapäisesti
Browse files Browse the repository at this point in the history
  • Loading branch information
jkorri committed Jan 7, 2025
1 parent fe479da commit 8e8a3d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/liiteri/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
[clj-ring-db-session.session.session-store :refer [create-session-store]]
[liiteri.file-cleaner :as file-cleaner]
[liiteri.mime-fixer :as mime-fixer]
[liiteri.preview.preview-generator :as preview-generator]
;[liiteri.preview.preview-generator :as preview-generator]
[taoensso.timbre :as log]
[taoensso.timbre.appenders.community.rolling :refer [rolling-appender]]
[timbre-ns-pattern-level :as pattern-level]
Expand Down Expand Up @@ -75,9 +75,9 @@
(mime-fixer/new-mime-fixer)
[:db :storage-engine :config :migrations])

:preview-generator (component/using
(preview-generator/new-preview-generator)
[:db :storage-engine :config :migrations])
;:preview-generator (component/using
; (preview-generator/new-preview-generator)
; [:db :storage-engine :config :migrations])

:s3-client (component/using
(s3-client/new-client)
Expand Down
2 changes: 1 addition & 1 deletion test/liiteri/preview/preview_generator_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
(use-fixtures :each
(fn [tests]
(u/start-system system)
(component/stop (:preview-generator @system))
;(component/stop (:preview-generator @system))
(tests)
(u/clear-database! system)
(u/stop-system system)))
Expand Down

0 comments on commit 8e8a3d8

Please sign in to comment.