HARD_CODED_RESPONSE_DELAY added to the up front request handling,

This commit is contained in:
Hedden, Kyle Matthew 2023-12-13 14:10:52 -05:00
parent f64ba3aff4
commit 291cf99604

View File

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