Commit Graph

2031 Commits

Author SHA1 Message Date
Brandon Simmons
66551acac4 Replace idle GC with a custom GC thread
The current idle GC settings seem never to cause idle GC to trigger.
The changes here at least help memory usage to look more reasonable when
running certain benchmarks, and speculatively could partially fix some
memory leaks users have reported.

See ourIdleGC for details.

Referencing canonical memory issue #3388
2020-07-14 11:54:24 +05:30
Phil Freeman
505ac06d9e
Expose all modules in Cabal file (#5371) 2020-07-14 11:26:53 +05:30
Aleksandra Sikora
773a29d612
console: don't set payload for data trigger (#5370) 2020-07-13 17:38:43 +02:00
Karthikeyan Chinnakonda
0ef52292b5
server: call the webhook asynchronously in event triggers (#5352)
* server: call the webhook asynchronosly in event triggers
2020-07-10 22:17:05 +05:30
Aleksandra Sikora
cefe06e089
console: fix clone row in data browser (close #5336) (#5337) 2020-07-09 20:32:44 +05:30
Tanvi Bhakta
51174ceb0e
console: display line number that error originated from in GraphQL editor (close #4849) (#4942) 2020-07-09 13:58:25 +02:00
Marion Schleifer
0387369b95
docs: update links in docs (#5331) 2020-07-09 10:42:33 +02:00
ooxaam
8022bf359a
docs: make exporting graphql schema export command work with windows (#5209) 2020-07-09 13:31:24 +05:30
sezgi
62223abda2
docs: improve getting started flow (close #5279) (#5280) 2020-07-08 17:26:26 -07:00
sezgi
a79b07c749
docs: add "See past editions" link to newsletter callout (close #5277) (#5278) 2020-07-08 13:27:02 -07:00
Marion Schleifer
78914c40d0
docs: change pro button to hasura cloud in header (#5315) 2020-07-08 21:33:22 +05:30
Marion Schleifer
5152bbf773
docs: fix confusion in unauthenticated access docs (#5319) 2020-07-08 15:20:41 +02:00
Marion Schleifer
b2faecbf13
docs: remove deprecated directory flag from examples (#5325) 2020-07-08 15:04:24 +02:00
surendran82
b1b92c75ad
console: update hasura pro content to cloud in header (#5268) 2020-07-08 16:01:31 +05:30
soorajshankar
b1c686f303
console: searchable select UX fix (close #5246) (#5254) 2020-07-08 15:21:41 +05:30
sezgi
b26e023483
docs: docs for remote joins (close #4911) (#5132) 2020-07-07 14:47:42 -07:00
Marion Schleifer
d775d94fc4
community: update readme with hasura cloud (#5307) 2020-07-07 14:52:56 +02:00
Marion Schleifer
41ba54437a
docs: change heroku one click url (#5314) 2020-07-07 17:13:59 +05:30
Aleksandra Sikora
4637de42e8
console: add statement timeout for data browser count query (#5313) 2020-07-07 15:56:15 +05:30
sezgi
c33d1a0211
docs: fix duplicate label warning (fix #5260) (#5261) 2020-07-07 13:06:15 +05:30
Marion Schleifer
ee6ea40ee8
docs: fix indexing issue (#5282) 2020-07-07 12:53:37 +05:30
Brandon Simmons
6d235be29c Add --disable-delayed-os-memory-return to default rtsopts
https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/runtime_control.html#rts-flag---disable-delayed-os-memory-return

Referencing canonical memory issue #3388

This is a bit of a mystery. It didn't seem to have any effect in early
repros we had. But now, running an introspection query benchmark I see:

  Running 400 concurrent connections:
    before this change: max residency ~450M
    after: ~140M
    No difference in latency was observed.

  ...BUT: if I give graphql-engine a warmup of 10 requests with 1
  connection (i.e. no concurrency): I see both have a max residency of
  ~140M (i.e. the flag doesn't help)

  ...also interestingly: a single warmup request doesn't seem to have
  any effect (ending RES is still high), 2 requests gets max RES down to
  ~180M.

I suspect many concurrent connections are spraying pinned data over a
bunch of blocks which are then not released to the OS barring memory
pressure. Whatever this is is maybe thread-local or "per-capability" in
some sense...
2020-07-06 11:54:18 -04:00
Matthew Adams
eba8ca360e
community: clarify vuejs-auth0-graphql readme (#4383) 2020-07-06 11:55:37 +02:00
Aleksandra Sikora
5d35f564e9
console: fix creating migrations from Raw SQL page (close #5296) (#5308) 2020-07-06 13:49:16 +05:30
Brandon Simmons
5cd30e073a
Disable downgrade test for now. Closes #5273 (#5291) 2020-07-06 10:08:26 +05:30
Aravind
7ae3e55a88
tag release v1.3.0-beta.4 (#5281) 2020-07-04 10:15:37 +05:30
Arpit Kushwaha
b94278e1c6
update links in README (#5283) 2020-07-03 16:34:54 +05:30
Rakesh Emmadi
2fe353a294
allow array relation connection fields regardless of aggregation permission & change relay endpoint to '/v1beta1/relay' (fix #5218) (#5257)
* fix error when array relation connections are queried, fix #5218

* change relay endpoint to '/v1beta1/relay'

* Update CHANGELOG.md

Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-07-03 12:00:35 +05:30
Aravind
cd0e2ec8e8
cli: fix permission issues when creating symlinks on windows, misc fix (close #5111, close #4879) (#5164) 2020-07-03 09:49:09 +05:30
Karthikeyan Chinnakonda
9ef6de5113
server: include additional fields in scheduled trigger webhook payload (#5262)
* include scheduled triggers metadata in the webhook body

Co-authored-by: Tirumarai Selvan <tiru@hasura.io>
2020-07-03 06:25:07 +05:30
Brandon Simmons
9e423a3c55 Fix buggy parsing of new --conn-lifetime flag in 2b0e3774 2020-07-02 13:27:46 -04:00
Karthikeyan Chinnakonda
97b1155bf8
server: unlock scheduled events on graceful shutdown (#4928) 2020-07-02 17:27:09 +05:30
Aleksandra Sikora
53a40bc2be
console: handle generated and identity columns in console data section (close #4552, #4863) (#4761) 2020-07-02 14:32:34 +05:30
Sameer Kolhar
6cd9eb282a
console: add button to cancel one-off scheduled events and cron-trigger events (close #5161) (#5236) 2020-07-02 13:57:53 +05:30
Akash Verma
636dc6299f
community: fixed typo in event-triggers boilerplate (#5222) 2020-07-02 09:53:44 +02:00
Aleksandra Sikora
af452de754
console: support tracking partitioned tables (close #5071) (#5258) 2020-07-02 13:14:27 +05:30
Vamshi Surabhi
9ccbd1c0f6
bump pg-client-hs version (fixes a build issue on some environments) (#5267) 2020-07-02 12:11:08 +05:30
Vamshi Surabhi
d464208515
Merge pull request #5255 from 0x777/issue-2012-mutations-no-prepared-statements
do not use prepared statements for mutations, close #2012
2020-07-02 10:50:25 +05:30
Vamshi Surabhi
cfffade115 do not use prepared statements for mutations 2020-07-02 10:48:35 +05:30
Anuj Shah
a78f17b79c
console: add code exporter to graphiql (close #4531) (#4652) 2020-07-01 23:16:09 +02:00
Gokul
b9918e0eac
console: allow configuring statement timeout on console RawSQL page (close #4998) (#5045) 2020-07-01 22:06:24 +02:00
sezgi
c4da0a70c5
docs: docs for scheduled triggers (close #4913) (#5141)
Co-authored-by: Marion Schleifer <marion@hasura.io>
2020-07-01 08:44:21 -07:00
Nuno Pato
2daa2c8d57
docs: add Nhost one-click deployment to deployment guides (#5180) 2020-07-01 15:23:40 +02:00
Marion Schleifer
1eac5983a6
docs: remove product expert button (#5232) 2020-07-01 14:27:30 +02:00
Marion Schleifer
53ef491b6d
docs: update getting started with hasura cloud (close #5206) (#5208) 2020-07-01 14:23:29 +02:00
soorajshankar
ab311cd9f1
console: add eslint-plugin-react-hooks (#5219) 2020-07-01 12:22:09 +02:00
John Duong
6fe0b748e2
community: fix DATA_API_URL for Heroku in console README (#5069) 2020-07-01 09:54:00 +02:00
Marion Schleifer
a6e50d5251
docs: fix error in actions api docs (#5235) 2020-07-01 08:46:53 +02:00
Brandon Simmons
2b0e3774a3
5087 libpq pool leak (#5089)
Shrink libpq buffers to 1MB before returning connection to pool. Closes #5087

See: https://github.com/hasura/pg-client-hs/pull/19

Also related: #3388 #4077
2020-07-01 09:23:10 +05:30
sezgi
bc234b04e7
contrib: link to fork-and-branch git workflow guide (close #5225) (#5226) 2020-06-30 16:31:53 +05:30