Skip to content

Commit

Permalink
Use POST method for getting pileup documents in MSTransferor
Browse files Browse the repository at this point in the history
Log number of pileup documents and pileup query executed
  • Loading branch information
amaltaro committed Mar 15, 2024
1 parent 823420a commit 517ac04
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/python/WMCore/MicroService/MSTransferor/MSTransferor.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ def updateCaches(self):
self.logger.info("Updating all local caches...")
self.dsetCounter = 0
self.blockCounter = 0
self.pileupDocs = getPileupDocs(self.msConfig['mspileupUrl'], self.pileupQuery)
self.pileupDocs = getPileupDocs(self.msConfig['mspileupUrl'],
self.pileupQuery, method='POST')
self.logger.info("Found %s pileup documents matching the query: %s",
len(self.pileupDocs), self.pileupQuery)
campaigns = self.reqmgrAux.getCampaignConfig("ALL_DOCS")
self.psn2pnnMap = self.cric.PSNtoPNNMap()
self.pnn2psnMap = self.cric.PNNtoPSNMap()
Expand Down

0 comments on commit 517ac04

Please sign in to comment.