function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
301Gplayer301Gplayer 

30 second "load" on Activesalesforce on 1.2.2 rails and 1.1.0 activesalesforce

Hi all,

What am I doing wrong?

My database connector is configured with the following:

adapter: activesalesforce
url: https://www.salesforce.com/services/Soap/u/8.0
username: myusername
password: mypassword

My environment.rb config is

Rails::Initializer.run do |config|
require_gem 'activesalesforce'
end

It physically works, but its unusably slow. Thanks for any advice.

william
Doug ChasmanDoug Chasman
Is this using scaffolding generated views (specifically list view) against a large dataset? Once the initial spin up of the webserver/ASF has completed is the performance of page views noticeable better?
301Gplayer301Gplayer
Unfortunately no. This is in the console. The scaffold views operate at the same lag.

Is there something particular that i'm supposed to do in the model description, besides the obvious stuff that's out on the web?

william