Hello everyone We've got a rails application that amongst other things queries an LDAP server for a list of staff members by department, and then organises that list alphabetically. Some departments have a lot of staff, and we're using the net/ldap gem, which has speed problems, and the LDAP server is slow. This all means that it can take up to a minute to resolve some of the department lists. Couple that with over 30 departments and it becomes a real problem.
My question to this group is this. In Capistrano, is there a way to run a number of curl commands after the deploy has completed and the web server has started? It also needs to not fall back if this job does not complete. It would be a bit like calling in an extra script after the deploy, one which is not connected to the deploy at all. I'm going to use Varnish to cache the department list, and run a cron job to on the lists every hour and set the TTL to 1 hour in order to minimise the problem during normal running of the site, but I also need to take into account the deploys when we make code changes. Any help on this would be most gratefully received. Regards V -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
