Skip to Content Skip to Menu

[SOLVED] [#4513] How to disable cbsubs_currencies and resulting cbsubs_history table bloat

  • boyjahq
  • boyjahq
  • OFFLINE
  • Posts: 473
  • Thanks: 33
  • Karma: 3
6 years 8 months ago #302644 by boyjahq
Using CB 2.1.3+build.2018.02.19.19.51.48.2dffa411d
CBSubs 4.1.1+build.2018.03.03.00.25.11.f5a43cc8b

I have Main Currency = Japanese Yen
Multi-currency mode = No Secondary Currency

But I still get a History log that fills with New Currency Exchange Rate entries. How can I make this stop?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48548
  • Thanks: 8290
  • Karma: 1445
6 years 8 months ago #302668 by krileon
You can not disable the currency exchange rate updating at this time.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • boyjahq
  • boyjahq
  • OFFLINE
  • Posts: 473
  • Thanks: 33
  • Karma: 3
6 years 8 months ago #302755 by boyjahq
Is it on the roadmap for any time soon? For many users it is an unnecessary use of server and database resources and it makes it more difficult to scan through the History Log.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48548
  • Thanks: 8290
  • Karma: 1445
6 years 8 months ago #302772 by krileon
We're looking into this for possibly next release. Either a new parameter or for it to just automatically turn off currency updating if a multi-currency environment isn't being used (this is probably most ideal).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • beat
  • beat
  • ONLINE
  • Posts: 2169
  • Thanks: 463
  • Karma: 352
6 years 8 months ago - 6 years 8 months ago #302879 by beat
Implemented for next nightly and upcoming CBSubs 4.2:

- Doesn't log history anymore for currency updates when multi-currency is off (no secondary currency selected).
Edit/Update:
- Doesn't update currency anymore when multi-currency is off

Edit/Update: [strike]When multiple currencies are off, the automatic updates only happen in background without performance hits when visiting the admin area.[/strike]

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
Last edit: 6 years 8 months ago by beat.
The following user(s) said Thank You: boyjahq, krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum