LogBox - Double sync rendering timeout
Summary: On slower devices , 0.5s is not fast enough and we frequently render a black screen. Let's bump the sync rendering timeout to 1s. Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D19282619 fbshipit-source-id: 0d9ae60f4869b0de7c4523c2cb33fbbf320c6438
This commit is contained in:
Родитель
173e7835c6
Коммит
88813761ec
|
@ -48,8 +48,8 @@
|
|||
[_surface start];
|
||||
[_surface setSize:frame.size];
|
||||
|
||||
if (![_surface synchronouslyWaitForStage:RCTSurfaceStageSurfaceDidInitialMounting timeout:.5]) {
|
||||
RCTLogInfo(@"Failed to mount LogBox within 500ms");
|
||||
if (![_surface synchronouslyWaitForStage:RCTSurfaceStageSurfaceDidInitialMounting timeout:1]) {
|
||||
RCTLogInfo(@"Failed to mount LogBox within 1s");
|
||||
}
|
||||
|
||||
_rootViewController = [UIViewController new];
|
||||
|
|
Загрузка…
Ссылка в новой задаче