You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use processed_count, cumulative_count and total_count valuers of sync_notify to created a progress bar. However, the values are incorrect for processed_count and cumulative_count.
processed_count is always equal to total_count
cumulative_count is 2000 or less.
def sync_notify
status'] ? @params['status'] : ""
puts @params['processed_count']
puts @params['cumulative_count']
puts @params['total_count']
status_percent = (@params['cumulative_count'].to_f / @params['total_count'].to_f * 100.0).round.to_s + "%"
puts status_percent
status += " : " + status_percent
# un-comment to show a debug status pop-up
Rho::Notification.showStatus( "Status", "#{@params['source_name']} : #{status}", Rho::RhoMessages.get_message('hide'))
end
I'm trying to use processed_count, cumulative_count and total_count valuers of sync_notify to created a progress bar. However, the values are incorrect for processed_count and cumulative_count.
processed_count is always equal to total_count
cumulative_count is 2000 or less.
Log:
processed_count = 11815
cumulative_count = 2000
total_count = 11815
processed_count = 11815
cumulative_count = 2000
total_count = 11815
...
processed_count = 11815
cumulative_count = 1815
total_count = 11815
I'm using Rhodes 5.5.0.29 and Rhoconnect-Client 5.5.0.29
The text was updated successfully, but these errors were encountered: