Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 945c3683 authored by Mike Yu's avatar Mike Yu Committed by Automerger Merge Worker
Browse files

DoH: Reduce DOH_THREADS from 2 to 1 am: 5d50b498 am: 736051b1 am: 21b2641c

Original change: https://android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/1938520

Change-Id: I1153fdaf1567679513b017d656a7ea421e00ce74
parents 11d86a76 21b2641c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ pub struct Dispatcher {
}

impl Dispatcher {
    const DOH_THREADS: usize = 2;
    const DOH_THREADS: usize = 1;

    pub fn new(validation: ValidationReporter, tagger: SocketTagger) -> Result<Dispatcher> {
        let (cmd_sender, cmd_receiver) = mpsc::channel::<Command>(MAX_BUFFERED_CMD_COUNT);