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:
commit
3ea582efc9
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user