Detailed Description
Messages which may be reused by the API.
Data Fields | |
| const | CACHE_ERROR |
| Error message returned when a cache is configured for the on-premise engine. | |
| const | PERFORMANCE_PROFILE_ERROR |
| Error message returned when a performance profile other than MaxPerformance is configured for the on-premise engine. | |
| const | RESULTS_CLOSED |
| Error message thrown when a property is read from results that have been closed. | |
Field Documentation
◆ CACHE_ERROR
| const fiftyone\pipeline\devicedetection\Messages::CACHE_ERROR |
Initial value:
=
'A results cache cannot be configured in the on-premise Hash ' .
'engine. The overhead of having to manage native object ' .
'lifetimes when a cache is enabled outweighs the benefit of the ' .
'cache.'
Error message returned when a cache is configured for the on-premise engine.
◆ PERFORMANCE_PROFILE_ERROR
| const fiftyone\pipeline\devicedetection\Messages::PERFORMANCE_PROFILE_ERROR |
Initial value:
=
"The on-premise Hash engine for PHP can only run with the in-memory " .
"'MaxPerformance' performance profile, but '%s' was configured. PHP is " .
"typically run under a process manager (Apache MPM prefork, php-fpm) " .
"that forks the worker process, and any other profile keeps the data " .
"file open and shares those file handles across the fork, which " .
"corrupts detection. Remove the " .
"'FiftyOneDegreesHashEngine.performance_profile' setting, or set it to " .
"'MaxPerformance'."
Error message returned when a performance profile other than MaxPerformance is configured for the on-premise engine.
The placeholder is the profile that was configured.
◆ RESULTS_CLOSED
| const fiftyone\pipeline\devicedetection\Messages::RESULTS_CLOSED |
Initial value:
=
'These device detection results have been closed, so their ' .
'properties cannot be read. Read the values needed before closing ' .
'the FlowData.'
Error message thrown when a property is read from results that have been closed.
