maybe icon indicating copy to clipboard operation
maybe copied to clipboard

Bug: Self hosted security syncs should not re-fetch security prices one each sync

Open ph-Os opened this issue 8 months ago • 1 comments

How are you using Maybe?

  • I am a self-hosted user

Self hoster checklist

  • v0.4.3
  • Unraid

Bug description

  • Manually tried to add some securitites (Stocks)
  • Noticed that pop up window disappeared sometimes when loosing focus, reopenend window to input data.
  • Noticed suddenly overall very sluggish performance of maybe, blue progress bar on top moving slowly.
  • Openend live logs, maybe constantly looking for securities. See excerpt below.
  • Noticed that I ran out of 1000 free synth credits already, despite beginning of the month and low number of securities in portfolio.
  • High CPU load

I, [2025-04-10T13:49:51.123352 #1] INFO -- : [ActiveJob] [SyncJob] [92c0f8a2-c37c-467f-951e-901099833725] [HoldingCalculator] Generating holdings for 3 securities on 2010-11-23 I, [2025-04-10T13:49:51.125891 #1] INFO -- : [ActiveJob] [SyncJob] [92c0f8a2-c37c-467f-951e-901099833725] [HoldingCalculator] No price found for security 48c57d9c-39a8-4aa3-8c36-08bb9d13b2d7 on 2010-11-23 I, [2025-04-10T13:49:51.125928 #1] INFO -- : [ActiveJob] [SyncJob] [92c0f8a2-c37c-467f-951e-901099833725] [HoldingCalculator] No price found for security 565fcd45-d1a3-4d2e-8c73-30219dcce06c on 2010-11-23 I, [2025-04-10T13:49:51.270579 #1] INFO -- : [ActiveJob] [SyncJob] [5719ee94-fdd1-4409-ab6c-cc1e3e2a2c43] [HoldingCalculator] Generating holdings for 3 securities on 2010-11-24 I, [2025-04-10T13:49:51.272696 #1] INFO -- : [ActiveJob] [SyncJob] [5719ee94-fdd1-4409-ab6c-cc1e3e2a2c43] [HoldingCalculator] No price found for security 48c57d9c-39a8-4aa3-8c36-08bb9d13b2d7 on 2010-11-24 I, [2025-04-10T13:49:51.272742 #1] INFO -- : [ActiveJob] [SyncJob] [5719ee94-fdd1-4409-ab6c-cc1e3e2a2c43] [HoldingCalculator] No price found for security 565fcd45-d1a3-4d2e-8c73-30219dcce06c on 2010-11-24 I, [2025-04-10T13:49:51.370567 #1] INFO -- : [ActiveJob] [SyncJob] [996a1702-a34a-4ad3-aed0-6c499910aa54] [HoldingCalculator] Generating holdings for 3 securities on 2010-11-16 I, [2025-04-10T13:49:51.372447 #1] INFO -- : [ActiveJob] [SyncJob] [996a1702-a34a-4ad3-aed0-6c499910aa54] [HoldingCalculator] No price found for security 48c57d9c-39a8-4aa3-8c36-08bb9d13b2d7 on 2010-11-16 I, [2025-04-10T13:49:51.372487 #1] INFO -- : [ActiveJob] [SyncJob] [996a1702-a34a-4ad3-aed0-6c499910aa54] [HoldingCalculator] No price found for security 565fcd45-d1a3-4d2e-8c73-30219dcce06c on 2010-11-16 I, [2025-04-10T13:49:51.434252 #1] INFO -- : [ActiveJob] [SyncJob] [801bb61e-5a7a-4c6a-b22b-364f463b89bd] [HoldingCalculator] Generating holdings for 3 securities on 2010-11-09 I, [2025-04-10T13:49:51.436200 #1] INFO -- : [ActiveJob] [SyncJob] [801bb61e-5a7a-4c6a-b22b-364f463b89bd] [HoldingCalculator] No price found for security 48c57d9c-39a8-4aa3-8c36-08bb9d13b2d7 on 2010-11-09 I, [2025-04-10T13:49:51.437001 #1] INFO -- : [ActiveJob] [SyncJob] [801bb61e-5a7a-4c6a-b22b-364f463b89bd] [HoldingCalculator] No price found for security 565fcd45-d1a3-4d2e-8c73-30219dcce06c on 2010-11-09 I, [2025-04-10T13:49:51.627201 #1] INFO -- : [ActiveJob] [SyncJob] [54a218a8-7783-4cb3-906d-53152f7538a8] [HoldingCalculator] Generating holdings for 3 securities on 2010-10-28 I, [2025-04-10T13:49:51.629024 #1] INFO -- : [ActiveJob] [SyncJob] [54a218a8-7783-4cb3-906d-53152f7538a8] [HoldingCalculator] No price found for security 48c57d9c-39a8-4aa3-8c36-08bb9d13b2d7 on 2010-10-28 I, [2025-04-10T13:49:51.629064 #1] INFO -- : [ActiveJob] [SyncJob] [54a218a8-7783-4cb3-906d-53152f7538a8] [HoldingCalculator] No price found for security 565fcd45-d1a3-4d2e-8c73-30219dcce06c on 2010-10-28 I, [2025-04-10T13:49:51.759371 #1] INFO -- : [ActiveJob] [SyncJob] [28ee122e-93a2-4b9c-baa2-ee8ef65b4de7] [HoldingCalculator] Generating holdings for 3 securities on 2010-11-30 I, [2025-04-10T13:49:51.761936 #1] INFO -- : [ActiveJob] [SyncJob] [28ee122e-93a2-4b9c-baa2-ee8ef65b4de7] [HoldingCalculator] No price found for security 48c57d9c-39a8-4aa3-8c36-08bb9d13b2d7 on 2010-11-30 I, [2025-04-10T13:49:51.765588 #1] INFO -- : [ActiveJob] [SyncJob] [28ee122e-93a2-4b9c-baa2-ee8ef65b4de7] [HoldingCalculator] No price found for security 565fcd45-d1a3-4d2e-8c73-30219dcce06c on 2010-11-30 I, [2025-04-10T13:49:51.904328 #1] INFO -- : [ActiveJob] [SyncJob] [d6c82406-873e-4249-99d6-0bac48ed860f] [HoldingCalculator] Generating holdings for 3 securities on 2009-12-17 I, [2025-04-10T13:49:51.906201 #1] INFO -- : [ActiveJob] [SyncJob] [d6c82406-873e-4249-99d6-0bac48ed860f] [HoldingCalculator] No price found for security 48c57d9c-39a8-4aa3-8c36-08bb9d13b2d7 on 2009-12-17 I, [2025-04-10T13:49:51.906236 #1] INFO -- : [ActiveJob] [SyncJob] [d6c82406-873e-4249-99d6-0bac48ed860f] [HoldingCalculator] No price found for security 565fcd45-d1a3-4d2e-8c73-30219dcce06c on 2009-12-17 I, [2025-04-10T13:49:51.978107 #1] INFO -- : [ActiveJob] [SyncJob] [d21d4f67-e083-43b0-90a8-f8f0964fbc71] [HoldingCalculator] Generating holdings for 3 securities on 2010-12-02 I, [2025-04-10T13:49:51.980298 #1] INFO -- : [ActiveJob] [SyncJob] [d21d4f67-e083-43b0-90a8-f8f0964fbc71] [HoldingCalculator] No price found for security 48c57d9c-39a8-4aa3-8c36-08bb9d13b2d7 on 2010-12-02 I, [2025-04-10T13:49:51.980341 #1] INFO -- : [ActiveJob] [SyncJob] [d21d4f67-e083-43b0-90a8-f8f0964fbc71] [HoldingCalculator] No price found for security 565fcd45-d1a3-4d2e-8c73-30219dcce06c on 2010-12-02 I, [2025-04-10T13:49:52.310011 #1] INFO -- : [ActiveJob] [SyncJob] [92c0f8a2-c37c-467f-951e-901099833725] [HoldingCalculator] Generating holdings for 3 securities on 2010-11-24 I, [2025-04-10T13:49:52.316490 #1] INFO -- : [ActiveJob] [SyncJob] [92c0f8a2-c37c-467f-951e-901099833725] [HoldingCalculator] No price found for security 48c57d9c-39a8-4aa3-8c36-08bb9d13b2d7 on 2010-11-24 I, [2025-04-10T13:49:52.317195 #1] INFO -- : [ActiveJob] [SyncJob] [92c0f8a2-c37c-467f-951e-901099833725] [HoldingCalculator] No price found for security 565fcd45-d1a3-4d2e-8c73-30219dcce06c on 2010-11-24

Expected behavior

What is the intended behavior that you would expect?

  • It is unclear what is going on - Is this a bug where trying to fetch unavailable security information leads to running out of synth credits ?
  • If synth credits are used up, why is the app still trying to fetch ? Like this it adds strain to my server CPU for no reason and I was forced to switch off the Maybe docker.
  • Is security info fetched at a reasonable rate or is this designed to run out at the beginning of the month for moderate use ?
  • How can I recover my already input data ( no export functionality available ) from this instance or fix this issue ?

ph-Os avatar Apr 10 '25 12:04 ph-Os