File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -88,20 +88,6 @@ let lwt_stats () =
8888 (Lwt_engine. writable_count () ) ]
8989 ; li [ppf " %d sleeping lwt threads" (Lwt_engine. timer_count () )] ] ]
9090
91- let preemptive_thread_stats () =
92- div
93- [ ul
94- [ li
95- [ ppf " %d detached threads (min %d,max %d)."
96- (Lwt_preemptive. nbthreads () )
97- (Ocsigen_config. get_minthreads () )
98- (Ocsigen_config. get_maxthreads () ) ]
99- ; li [ppf " %d are busy threads." (Lwt_preemptive. nbthreadsbusy () )]
100- ; li
101- [ ppf " %d computations queued (max %d)."
102- (Lwt_preemptive. nbthreadsqueued () )
103- (Ocsigen_config. get_max_number_of_threads_queued () ) ] ] ]
104-
10591let http_stats () =
10692 let hosts = Ocsigen_extensions. get_hosts () in
10793 div
@@ -185,9 +171,7 @@ let content_div () =
185171 ; h2 [ppf " GC" ]
186172 ; gc_stats ()
187173 ; h2 [ppf " Lwt threads" ]
188- ; lwt_stats ()
189- ; h2 [ppf " Preemptive threads" ]
190- ; preemptive_thread_stats () ])
174+ ; lwt_stats () ])
191175
192176let content_html () =
193177 let * content_div = content_div () in
You can’t perform that action at this time.
0 commit comments