feeder: empty the API cache before feeding each form

The cache grows too much without it.
This commit is contained in:
Benjamin Dauvergne 2016-12-02 11:44:22 +01:00
parent c3e14387b6
commit c32a880373
1 changed files with 1 additions and 0 deletions

View File

@ -395,6 +395,7 @@ class WcsOlapFeeder(object):
self.do_schema()
self.do_base_table()
for formdef in self.formdefs:
self.api.cache = {}
try:
formdef_feeder = WcsFormdefFeeder(self, formdef, do_feed=self.do_feed)
formdef_feeder.feed()