Commit graph

6 commits

Author SHA1 Message Date
Martin Bornhold
a0dd170a39 vcs: Move vcsserver cache invalidation to mercurial backend.
The invalidation is only needed for "writing" mercurial methods.
Previous location covers also "reading" methodas and other vcs backends.
2016-07-11 10:43:48 +02:00
Martin Bornhold
485c007798 http-protocol: Invalidate the VCSServer cache when calling a writing method. 2016-07-08 16:38:43 +02:00
Martin Bornhold
5499e99cdb http-protocol: Add a method to invalidate the VCSServer cache.
This method allows to invalidate the cached repository objects in the VCSServer.
It generates a new UUID which is used by the VCSServer as cache key.
2016-07-08 16:01:35 +02:00
Martin Bornhold
6b84fcdb1d threading: Use the curl session factory. 2016-06-22 10:18:33 +02:00
Martin Bornhold
4a1c60fba2 threading: Add factory that creates curl session for each thread.
When creating a repo with an import url pointing to another repo on the same enterprise instance
we call the vcssserver to check the url. The vcsserver then calls to enterprise to verify the url.
This leads to two threads using the same cur session.
2016-06-22 10:18:06 +02:00
Marcin Kuzminski
9a0d8c0b77 project: added all source files and assets 2016-05-24 15:56:53 +02:00