Merge branch 'feature/hardcoded_json_delay' into 'develop'

HARD_CODED_RESPONSE_DELAY added to the up front request handling,

### Summary
Fixed HARD_CODED_RESPONSE_DELAY positioning.

Co-authored-by: Hedden, Kyle Matthew <kyle.hedden@verizonwireless.com>

See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core/-/merge_requests/300
This commit is contained in:
Pfeil, Scott Robert 2023-12-19 22:13:00 +00:00
commit 3ea582efc9

View File

@ -288,6 +288,9 @@
#if ENABLE_HARD_CODED_RESPONSE
NSDictionary *response = [[MFHardCodedServerResponse sharedInstance] getHardCodedResponseForRequest:requestParameters];
if (response) {
#if HARD_CODED_RESPONSE_DELAY > 0
[NSThread sleepForTimeInterval:HARD_CODED_RESPONSE_DELAY];
#endif
if (requestFinished) {
requestFinished(response, nil);
}