Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
8d3d781
1
Parent(s):
8ab4638
upgrade to 4 nodes, downgrade to 2 search results, enable sim loop
Browse files
build/web/flutter_bootstrap.js
CHANGED
@@ -38,6 +38,6 @@ _flutter.buildConfig = {"engineRevision":"1c9c20e7c3dd48c66f400a24d48ea806b4ab31
|
|
38 |
|
39 |
_flutter.loader.load({
|
40 |
serviceWorkerSettings: {
|
41 |
-
serviceWorkerVersion: "
|
42 |
}
|
43 |
});
|
|
|
38 |
|
39 |
_flutter.loader.load({
|
40 |
serviceWorkerSettings: {
|
41 |
+
serviceWorkerVersion: "3709022324"
|
42 |
}
|
43 |
});
|
build/web/flutter_service_worker.js
CHANGED
@@ -3,12 +3,12 @@ const MANIFEST = 'flutter-app-manifest';
|
|
3 |
const TEMP = 'flutter-temp-cache';
|
4 |
const CACHE_NAME = 'flutter-app-cache';
|
5 |
|
6 |
-
const RESOURCES = {"flutter_bootstrap.js": "
|
7 |
"version.json": "68350cac7987de2728345c72918dd067",
|
8 |
"tikslop.png": "570e1db759046e2d224fef729983634e",
|
9 |
"index.html": "3a7029b3672560e7938aab6fa4d30a46",
|
10 |
"/": "3a7029b3672560e7938aab6fa4d30a46",
|
11 |
-
"main.dart.js": "
|
12 |
"tikslop.svg": "26140ba0d153b213b122bc6ebcc17f6c",
|
13 |
"flutter.js": "888483df48293866f9f41d3d9274a779",
|
14 |
"favicon.png": "c8a183c516004e648a7bac7497c89b97",
|
|
|
3 |
const TEMP = 'flutter-temp-cache';
|
4 |
const CACHE_NAME = 'flutter-app-cache';
|
5 |
|
6 |
+
const RESOURCES = {"flutter_bootstrap.js": "46ef9cc65b22dd1e26f1773446e8d817",
|
7 |
"version.json": "68350cac7987de2728345c72918dd067",
|
8 |
"tikslop.png": "570e1db759046e2d224fef729983634e",
|
9 |
"index.html": "3a7029b3672560e7938aab6fa4d30a46",
|
10 |
"/": "3a7029b3672560e7938aab6fa4d30a46",
|
11 |
+
"main.dart.js": "351cd74e5d606a24b33a1a01662ee3cd",
|
12 |
"tikslop.svg": "26140ba0d153b213b122bc6ebcc17f6c",
|
13 |
"flutter.js": "888483df48293866f9f41d3d9274a779",
|
14 |
"favicon.png": "c8a183c516004e648a7bac7497c89b97",
|
build/web/index.html
CHANGED
@@ -156,7 +156,7 @@
|
|
156 |
</script>
|
157 |
|
158 |
<!-- Add version parameter for cache busting -->
|
159 |
-
<script src="flutter_bootstrap.js?v=
|
160 |
|
161 |
<!-- Add cache busting script -->
|
162 |
<script>
|
|
|
156 |
</script>
|
157 |
|
158 |
<!-- Add version parameter for cache busting -->
|
159 |
+
<script src="flutter_bootstrap.js?v=1753447251" async></script>
|
160 |
|
161 |
<!-- Add cache busting script -->
|
162 |
<script>
|
build/web/main.dart.js
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
lib/screens/home_screen.dart
CHANGED
@@ -34,7 +34,7 @@ class _HomeScreenState extends State<HomeScreen> {
|
|
34 |
bool _isSearching = false;
|
35 |
String? _currentSearchQuery;
|
36 |
StreamSubscription? _searchSubscription;
|
37 |
-
static const int maxResults =
|
38 |
|
39 |
// Subscription for limit status
|
40 |
StreamSubscription? _anonLimitSubscription;
|
|
|
34 |
bool _isSearching = false;
|
35 |
String? _currentSearchQuery;
|
36 |
StreamSubscription? _searchSubscription;
|
37 |
+
static const int maxResults = 2;
|
38 |
|
39 |
// Subscription for limit status
|
40 |
StreamSubscription? _anonLimitSubscription;
|
lib/services/websocket_api_service.dart
CHANGED
@@ -110,7 +110,6 @@ class WebSocketApiService {
|
|
110 |
|
111 |
final _connectionLock = Lock();
|
112 |
final _disposeLock = Lock();
|
113 |
-
final bool _isReconnecting = false;
|
114 |
|
115 |
final _chatController = StreamController<ChatMessage>.broadcast();
|
116 |
Stream<ChatMessage> get chatStream => _chatController.stream;
|
@@ -124,8 +123,8 @@ class WebSocketApiService {
|
|
124 |
SearchState? _currentSearchState;
|
125 |
final _searchController = StreamController<VideoResult>.broadcast();
|
126 |
final _activeSearches = <String, bool>{};
|
127 |
-
static const int maxFailedAttempts =
|
128 |
-
static const int maxResults =
|
129 |
|
130 |
Stream<VideoResult> get searchStream => _searchController.stream;
|
131 |
|
|
|
110 |
|
111 |
final _connectionLock = Lock();
|
112 |
final _disposeLock = Lock();
|
|
|
113 |
|
114 |
final _chatController = StreamController<ChatMessage>.broadcast();
|
115 |
Stream<ChatMessage> get chatStream => _chatController.stream;
|
|
|
123 |
SearchState? _currentSearchState;
|
124 |
final _searchController = StreamController<VideoResult>.broadcast();
|
125 |
final _activeSearches = <String, bool>{};
|
126 |
+
static const int maxFailedAttempts = 2;
|
127 |
+
static const int maxResults = 2;
|
128 |
|
129 |
Stream<VideoResult> get searchStream => _searchController.stream;
|
130 |
|