Skip to content
Snippets Groups Projects
  1. Jun 12, 2023
  2. Jan 26, 2023
  3. Dec 14, 2022
  4. Jun 03, 2022
  5. Feb 28, 2022
  6. Dec 22, 2021
    • Vladimír Čunát's avatar
      daemon/zimport: rewrite, support ZONEMD · d7a065c5
      Vladimír Čunát authored
      The approach of the code was rather hacky, simulating some packets
      arriving from upstream and making the module stack CONSUME that.
      Instead we take a direct approach now: use the simplified validator API
      and then insert into cache directly.
      
      One effect is improved performance, and consequently roughly halving
      the lag which happens when prefill module invokes this.
      (With root zone the lag goes down to 0.1 s from over 0.2 s,
       on my relatively fast CPU.  Fortunately it's just once a day.)
      Verified
      d7a065c5
  7. Jul 29, 2021
  8. May 25, 2021
  9. Dec 31, 2020
  10. Sep 10, 2020
  11. Sep 07, 2020
  12. Aug 06, 2020
  13. Jul 16, 2020
  14. Feb 25, 2020
  15. Jan 08, 2020
  16. Dec 19, 2019
  17. Jun 13, 2019
    • Vladimír Čunát's avatar
      treewide: drop support for other lua versions · bbecc52c
      Vladimír Čunát authored
      We're very much depending on LuaJIT, for years already.
      The removed stuff seems very unlikely to be useful in any LuaJIT
      in forseeable future.  The Lua language is effectively forked.
      Verified
      bbecc52c
    • Vladimír Čunát's avatar
      worker: convert to a proper singleton · a550a150
      Vladimír Čunát authored
      On many places we've been assuming that there's only a single worker,
      but we still often didn't utilize the property well.  To get the pointer
      we used various ways, all even untyped:
       - __worker global variable in lua
       - uv_default_loop()->data
       - kr_request::daemon_context
      
      Now we instead simply define a global typed pointer the_worker.
      
      Nitpick: also worker_{init,deinit}() are reordered to correspond
      to the order of the fields, etc.
      Verified
      a550a150
  18. Mar 06, 2019
  19. Feb 21, 2019
  20. Feb 11, 2019
  21. Feb 07, 2019
    • Vladimír Čunát's avatar
      cleanups after splitting bindings.c · 9b5a9c1a
      Vladimír Čunát authored and Petr Špaček's avatar Petr Špaček committed
      Verified
      9b5a9c1a
    • Vladimír Čunát's avatar
      split daemon/bindings.c file · dd9e33dc
      Vladimír Čunát authored and Petr Špaček's avatar Petr Špaček committed
      It's now a directory, one C file for each lua table of functions.
      We get more total lines due to per-file copyright headers,
      but the original file was just too long (nearing 2k lines).
      The layout was inspired by the lib/cache/ split.
      
      Disadvantage: git operations (e.g. blame) will stumble on this commit.
      
      During the move, rename the "str" and "xstr" macros, too.
      Otherwise there are no real changes, as they would be hard to spot.
      Verified
      dd9e33dc
Loading