diff --git a/backend/src/app/http.clj b/backend/src/app/http.clj index 4cb0aea3e0..5a52146ff0 100644 --- a/backend/src/app/http.clj +++ b/backend/src/app/http.clj @@ -25,6 +25,7 @@ [app.rpc :as-alias rpc] [app.rpc.doc :as-alias rpc.doc] [app.setup :as-alias setup] + [app.worker :as wrk] [integrant.core :as ig] [promesa.exec :as px] [reitit.core :as r] @@ -63,15 +64,16 @@ (assert (sm/check schema:server-params params))) (defmethod ig/init-key ::server - [_ {:keys [::handler ::router ::host ::port] :as cfg}] + [_ {:keys [::handler ::router ::host ::port ::wrk/executor] :as cfg}] (l/info :hint "starting http server" :port port :host host) (let [options {:http/port port :http/host host :http/max-body-size (::max-body-size cfg) :http/max-multipart-body-size (::max-multipart-body-size cfg) + :xnio/direct-buffers false :xnio/io-threads (or (::io-threads cfg) (max 3 (px/get-available-processors))) - :xnio/dispatch :virtual + :xnio/dispatch executor :ring/compat :ring2 :socket/backlog 4069} diff --git a/backend/src/app/main.clj b/backend/src/app/main.clj index d1eca0ff2b..8c008deb2a 100644 --- a/backend/src/app/main.clj +++ b/backend/src/app/main.clj @@ -232,7 +232,8 @@ ::http/router (ig/ref ::http/router) ::http/io-threads (cf/get :http-server-io-threads) ::http/max-body-size (cf/get :http-server-max-body-size) - ::http/max-multipart-body-size (cf/get :http-server-max-multipart-body-size)} + ::http/max-multipart-body-size (cf/get :http-server-max-multipart-body-size) + ::wrk/executor (ig/ref ::wrk/executor)} ::ldap/provider {:host (cf/get :ldap-host) diff --git a/backend/src/app/rpc/climit.clj b/backend/src/app/rpc/climit.clj index a56b15d402..f03f19e79c 100644 --- a/backend/src/app/rpc/climit.clj +++ b/backend/src/app/rpc/climit.clj @@ -178,12 +178,12 @@ (measure metrics mlabels stats nil) (log "enqueued" req-id stats limit-id limit-label limit-params nil)) - (px/invoke! limiter (fn [] - (let [elapsed (tpoint) - stats (pbh/get-stats limiter)] - (measure metrics mlabels stats elapsed) - (log "acquired" req-id stats limit-id limit-label limit-params elapsed) - (handler)))) + (pbh/invoke! limiter (fn [] + (let [elapsed (tpoint) + stats (pbh/get-stats limiter)] + (measure metrics mlabels stats elapsed) + (log "acquired" req-id stats limit-id limit-label limit-params elapsed) + (handler)))) (catch ExceptionInfo cause (let [{:keys [type code]} (ex-data cause)] diff --git a/common/deps.edn b/common/deps.edn index f6e54ae876..1bdddf690c 100644 --- a/common/deps.edn +++ b/common/deps.edn @@ -30,7 +30,7 @@ funcool/tubax {:mvn/version "2021.05.20-0"} funcool/cuerdas {:mvn/version "2025.06.16-414"} funcool/promesa - {:git/sha "f52f58cfacf62f59eab717e2637f37729d0cc383" + {:git/sha "46048fc0d4bf5466a2a4121f5d52aefa6337f2e8" :git/url "https://github.com/funcool/promesa"} funcool/datoteka diff --git a/frontend/src/app/main/ui/dashboard/subscription.cljs b/frontend/src/app/main/ui/dashboard/subscription.cljs index d320a687e4..2a560f84bc 100644 --- a/frontend/src/app/main/ui/dashboard/subscription.cljs +++ b/frontend/src/app/main/ui/dashboard/subscription.cljs @@ -125,7 +125,11 @@ (mf/defc menu-team-icon* [{:keys [subscription-type]}] - [:span {:class (stl/css :subscription-icon) :data-testid "subscription-icon"} + [:span {:class (stl/css :subscription-icon) + :title (if (= subscription-type "unlimited") + (tr "subscription.dashboard.power-up.unlimited-plan") + (tr "subscription.dashboard.power-up.enterprise-plan")) + :data-testid "subscription-icon"} (case subscription-type "unlimited" i/character-u "enterprise" i/character-e)]) diff --git a/frontend/src/app/main/ui/releases/v2_9.cljs b/frontend/src/app/main/ui/releases/v2_9.cljs index 1341105941..47f4183117 100644 --- a/frontend/src/app/main/ui/releases/v2_9.cljs +++ b/frontend/src/app/main/ui/releases/v2_9.cljs @@ -40,7 +40,7 @@ "We're keeping the momentum going with another exciting round of improvements and features!"] [:p {:class (stl/css :feature-content)} - "This release brings major progress in Design Token management (including our very first typography tokens!), smarter text overrides for components, and a rich collection of quality-of-life enhancements."] + "This release brings major progress in Design Token management (including our very first typography token!), smarter text overrides for components, and a rich collection of quality-of-life enhancements."] [:p {:class (stl/css :feature-content)} "Let’s dive in!"]] @@ -65,7 +65,7 @@ [:div {:class (stl/css :feature)} [:p {:class (stl/css :feature-content)} - "You can now define and manage font size tokens right from the Design Tokens panel. This is just the first of many typography token types to come. Font weight token is next!"] + "You can now define and manage font size tokens right from the Design Tokens panel. This is just the first of many typography token types to come. Font family token is next!"] [:p {:class (stl/css :feature-content)} "And there’s more progress on Tokens, including support for importing multiple token files via .zip, and smarter token visibility, only showing the relevant tokens for each layer type."]] @@ -95,10 +95,10 @@ [:div {:class (stl/css :feature)} [:p {:class (stl/css :feature-content)} - "When overriding text inside components, you can now tweak and preserve individual properties like color, effects, font size or font weight."] + "You can now edit the text content independently from its properties—such as color, effects, font size, or weight—allowing you to update the wording while preserving the styling."] [:p {:class (stl/css :feature-content)} - "Now you can confidently apply different tokens to copies of a component, knowing that their intended overrides will remain. This greatly improves consistency, predictability, and control when working with texts in components."]] + "This change (inspired by community feedback) greatly improves consistency, predictability, and control when working with texts in components."]] [:div {:class (stl/css :navigation)} [:& c/navigation-bullets diff --git a/frontend/translations/en.po b/frontend/translations/en.po index 1c928e4fab..76bbd5a1ff 100644 --- a/frontend/translations/en.po +++ b/frontend/translations/en.po @@ -4411,11 +4411,6 @@ msgstr "Subscription" msgid "subscription.settings.add-payment-to-continue" msgstr "Add a payment method to continue after your trial" -#: src/app/main/ui/settings/subscription.cljs:82, src/app/main/ui/settings/subscription.cljs:115, src/app/main/ui/settings/subscription.cljs:127 -#, fuzzy, unused -msgid "subscription.settings.benefits.all-professiona-benefits" -msgstr "" - #: src/app/main/ui/settings/subscription.cljs:247, src/app/main/ui/settings/subscription.cljs:268, src/app/main/ui/settings/subscription.cljs:303, src/app/main/ui/settings/subscription.cljs:317 msgid "subscription.settings.benefits.all-professional-benefits" msgstr "All Professional plan benefits and:"