Comment 0 for bug 48813

Revision history for this message
Andrew Bennetts (spiv) wrote : Mirroring sftp hosted branches takes much too long

SFTP hosted branches are stored locally, so mirroring them to HTTP should be very fast. Currently they're treated like external branches, and so there's generally many hours between pushing to SFTP and having it published over HTTP.

We should reduce this latency to as close as nothing as possible. To start with, perhaps we should poll all hosted branches everytime the branch puller cronscript runs?

The longer term fix would be to have the SFTP server inform the branch puller, probably by an XML-RPC call that updates the database, that a branch has been updated, so the puller can know which branches need attention.