1. 12 May, 2021 1 commit
  2. 16 Mar, 2021 1 commit
    • o's avatar
      extend expiration of temp box · a203ca79
      o authored
      To address #10, let's just extend the lifetime of the temp box. I don't
      have a better idea. 4h should be enough..?
      a203ca79
  3. 14 Mar, 2021 1 commit
  4. 13 Mar, 2021 7 commits
  5. 20 Feb, 2021 2 commits
  6. 10 Feb, 2021 2 commits
  7. 01 Feb, 2021 2 commits
  8. 03 Dec, 2020 4 commits
  9. 02 Dec, 2020 1 commit
  10. 01 Dec, 2020 2 commits
  11. 30 Nov, 2020 3 commits
  12. 29 Nov, 2020 3 commits
  13. 20 Nov, 2020 4 commits
  14. 17 Nov, 2020 1 commit
  15. 16 Nov, 2020 2 commits
    • o's avatar
      fix distribution of new mailboxes · 6b3ae775
      o authored
      empirically verified that this evens out a *lot* faster than what
      we had before. The old formula didn't make much sense. Given
      the current load is:
      
          a: 10, b: 20, c: 20
      
      the old chance of getting picked was:
      
          a: 1-(1/5),  b: 1-(2/5),  c: 1-(2/5)
      
      ie.
      
          a: 0.8, b: 0.6, c: 0.6
      
      normalized (so they sum up to 1.0):
      
          a: 0.4, b: 0.3, c: 0.3
      
      In other words "a" was less likely as "b || c", which is clearly not
      good... The 1-(percentage) does not make much sense, since the resulting sum
      does not add up to 1.
      
      The new distribution is to use the asymptotic function (1/percentage)**2
      as the relative likelihood.
      
      In the above example it would be:
      
          a: 25, b: 6.25, c: 6.25
      
      normalized:
      
          a: 0.67, b: 0.17, c: 0.17
      
      which converges much faster!
      6b3ae775
    • mh's avatar
      optimize query · a222ed60
      mh authored
      a222ed60
  16. 14 Nov, 2020 3 commits
  17. 12 Nov, 2020 1 commit