HARD_CODED_RESPONSE_DELAY added to the up front request handling,
This commit is contained in:
parent
f64ba3aff4
commit
291cf99604
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user