« Previous | Next » 

Revision ecbbd139

IDecbbd1393ac469cbf74b14bfcc3a69945c997cdb
Parent 402b2f36
Child 62f36644

Added by Christian Müller over 6 years ago

[BUGFIX] Avoid "too many open files" exception during I18n filesystem scan

The I18n Service scans the filesystem for localized files in order to build
a list of available locales, this is done with a RecursiveIterator, which
will keep handles open in nested structures. A simple stack like now
used in the FileMonitor prevents the problem of "too many open files"
(leading to a fatal error) and at the same time brings clear performance
boost. Additionally hidden directories and files (starting with ".") are
ignored now.

Change-Id: Ia2df58da5fbfd708b56af3726e31554ef0c1ece3
Releases: master, 3.0, 2.3
Fixes: NEOS-111

  • added
  • modified
  • copied
  • renamed
  • deleted