Skip to content

Commit

Permalink
Merge pull request #2402 from nervosnetwork/develop
Browse files Browse the repository at this point in the history
Deploy to testnet
  • Loading branch information
zmcNotafraid authored Jan 10, 2025
2 parents b4b5e8c + 19edcf4 commit f697aa0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions app/services/charts/daily_statistic_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ def call
daily_statistic.from_scratch = from_scratch
daily_statistic.reset!(updated_attrs)
daily_statistic
rescue StandardError => e
Rails.logger.error "Error occurred during DailyStatisticGenerator error: #{e.message}"
end

private
Expand Down
2 changes: 1 addition & 1 deletion app/workers/charts/daily_statistic.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Charts
class DailyStatistic
include Sidekiq::Worker
sidekiq_options queue: "critical", backtrace: 20
sidekiq_options queue: "critical"

# iterate from the creation timestamp of last daily statistic record to now day by day
# and generate daily statistic record for each day
Expand Down

0 comments on commit f697aa0

Please sign in to comment.